diff --git a/packer/hcl2/source-qemu.pkr.hcl b/packer/hcl2/source-qemu.pkr.hcl index 46fb062..adb8ea7 100644 --- a/packer/hcl2/source-qemu.pkr.hcl +++ b/packer/hcl2/source-qemu.pkr.hcl @@ -10,5 +10,4 @@ source "qemu" "x86_64" { ssh_password = "void" ssh_timeout = "20m" ssh_username = "void" - shutdown_command = "echo 'void' | sudo -S shutdown -P now" } diff --git a/packer/scripts/cloud.sh b/packer/scripts/cloud.sh index f626e03..4ad448d 100644 --- a/packer/scripts/cloud.sh +++ b/packer/scripts/cloud.sh @@ -24,3 +24,5 @@ passwd -dl void passwd -dl root rm -rf /var/cache/xbps + +shutdown -P now