Add output message to debootstrap install
This commit is contained in:
parent
7268592c87
commit
45c9909428
|
@ -480,14 +480,12 @@ class VMBuilderScript(VMBuilder):
|
||||||
if not root_volume:
|
if not root_volume:
|
||||||
raise ProvisioningError("Failed to find root volume in volumes list")
|
raise ProvisioningError("Failed to find root volume in volumes list")
|
||||||
|
|
||||||
# Perform a deboostrap installation
|
# Perform a debootstrap installation
|
||||||
|
print(
|
||||||
|
f"Installing system with debootstrap: debootstrap --include={','.join(deb_packages)} {deb_release} {temporary_directory} {deb_mirror}"
|
||||||
|
)
|
||||||
os.system(
|
os.system(
|
||||||
"debootstrap --include={pkgs} {suite} {target} {mirror}".format(
|
"debootstrap --include={','.join(deb_packages)} {deb_release} {temporary_directory} {deb_mirror}"
|
||||||
suite=deb_release,
|
|
||||||
target=temporary_directory,
|
|
||||||
mirror=deb_mirror,
|
|
||||||
pkgs=",".join(deb_packages),
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Bind mount the devfs so we can grub-install later
|
# Bind mount the devfs so we can grub-install later
|
||||||
|
|
Loading…
Reference in New Issue