Update docker-vm.sh
This commit is contained in:
parent
fc8e1ca88e
commit
c7ff933053
@ -468,10 +468,12 @@ for i in {0,1}; do
|
|||||||
eval DISK${i}_REF=${STORAGE}:${DISK_REF:-}${!disk}
|
eval DISK${i}_REF=${STORAGE}:${DISK_REF:-}${!disk}
|
||||||
done
|
done
|
||||||
|
|
||||||
msg_info "Installing Pre-Requisite libguestfs-tools onto Host"
|
if ! command -v virt-customize &>/dev/null; then
|
||||||
apt-get -qq update >/dev/null
|
msg_info "Installing Pre-Requisite libguestfs-tools onto Host"
|
||||||
apt-get -qq install libguestfs-tools lsb-release -y >/dev/null
|
apt-get -qq update >/dev/null
|
||||||
msg_ok "Installed libguestfs-tools successfully"
|
apt-get -qq install libguestfs-tools lsb-release -y >/dev/null
|
||||||
|
msg_ok "Installed libguestfs-tools successfully"
|
||||||
|
fi
|
||||||
|
|
||||||
msg_info "Adding Docker and Docker Compose Plugin to Debian 12 Qcow2 Disk Image"
|
msg_info "Adding Docker and Docker Compose Plugin to Debian 12 Qcow2 Disk Image"
|
||||||
virt-customize -q -a "${FILE}" --install qemu-guest-agent,apt-transport-https,ca-certificates,curl,gnupg,software-properties-common,lsb-release >/dev/null &&
|
virt-customize -q -a "${FILE}" --install qemu-guest-agent,apt-transport-https,ca-certificates,curl,gnupg,software-properties-common,lsb-release >/dev/null &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user