feat: enhance Ubuntu rootfs build process with improved logging and error handling
This commit is contained in:
@@ -70,8 +70,10 @@ sudo env \
|
||||
```
|
||||
|
||||
The Ubuntu build uses `debootstrap`, authenticated Ubuntu archive signatures,
|
||||
and native packages. UVM installs the builder prerequisites and records the
|
||||
built ext4 image's SHA-256 in the integrity manifest. Building requires root
|
||||
and native packages. It bootstraps the base release first, then uses apt to
|
||||
apply updates/security fixes and install the guest packages. UVM installs the
|
||||
builder prerequisites and records the built ext4 image's SHA-256 in the
|
||||
integrity manifest. Building requires root
|
||||
with mount/PID namespace support and internet access to Ubuntu mirrors.
|
||||
|
||||
Use `--force` to refresh downloads and rebuild the Ubuntu template:
|
||||
@@ -95,6 +97,11 @@ Existing VM disks retain their original OS and credentials; installation
|
||||
updates the template used for future VMs. Restart a running API server to load
|
||||
the updated provisioner before creating VMs through the dashboard.
|
||||
|
||||
If the build fails, its detailed bootstrap/package output is retained in
|
||||
`/var/lib/uvm/images/ubuntu-build.log` (mode `0600`). Correct the build failure
|
||||
and rerun installation before creating a custom-user VM; a failed build leaves
|
||||
the previous template installed.
|
||||
|
||||
For local experimentation only, the old unverified quick-start behavior is
|
||||
available through an explicit opt-out:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user