feat: update UVM installation and usage documentation; enhance image handling tests

This commit is contained in:
2026-09-22 00:33:34 +05:30
parent 4bf4c0853c
commit 1d3644ab7c
5 changed files with 43 additions and 12 deletions
+7 -7
View File
@@ -204,6 +204,13 @@ class Installer:
label="guest kernel",
environment_name="UVM_KERNEL_SHA256",
)
verify_file(
kernel,
self._settings.kernel_sha256,
"guest kernel",
"UVM_KERNEL_SHA256",
allow_unverified=self._settings.allow_unverified_downloads,
)
if not self._settings.rootfs_url:
self._install_ubuntu_rootfs(rootfs, force=force)
elif force or not rootfs.exists():
@@ -214,13 +221,6 @@ class Installer:
label="guest root filesystem",
environment_name="UVM_ROOTFS_SHA256",
)
verify_file(
kernel,
self._settings.kernel_sha256,
"guest kernel",
"UVM_KERNEL_SHA256",
allow_unverified=self._settings.allow_unverified_downloads,
)
if self._settings.rootfs_url:
verify_file(
rootfs,