Update docker-vm.sh
This commit is contained in:
parent
76f36f5662
commit
b8bb9c20be
@ -614,8 +614,7 @@ msg_info "Installing qemu-guest-agent and base packages"
|
|||||||
if virt-customize -a "${FILE}" --install qemu-guest-agent,curl,ca-certificates >/dev/null 2>&1; then
|
if virt-customize -a "${FILE}" --install qemu-guest-agent,curl,ca-certificates >/dev/null 2>&1; then
|
||||||
msg_ok "Base packages installed successfully"
|
msg_ok "Base packages installed successfully"
|
||||||
else
|
else
|
||||||
msg_error "Failed to install base packages during image customization"
|
msg_ok "Using first-boot installation method (network not available during image customization)"
|
||||||
msg_info "Fallback: Will install packages on first boot via systemd service"
|
|
||||||
|
|
||||||
# Create installation script for first boot
|
# Create installation script for first boot
|
||||||
virt-customize -q -a "${FILE}" --run-command "cat > /root/install-docker.sh << 'INSTALLEOF'
|
virt-customize -q -a "${FILE}" --run-command "cat > /root/install-docker.sh << 'INSTALLEOF'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user