Skip to content

Commit e060405

Browse files
committed
packer: unset bogus shutdown_command
1 parent 7cc18c2 commit e060405

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packer/hcl2/source-qemu.pkr.hcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ source "qemu" "x86_64" {
1010
ssh_password = "void"
1111
ssh_timeout = "20m"
1212
ssh_username = "void"
13-
shutdown_command = "echo 'void' | sudo -S shutdown -P now"
1413
}

packer/scripts/cloud.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ passwd -dl void
2424
passwd -dl root
2525

2626
rm -rf /var/cache/xbps
27+
28+
shutdown -P now

0 commit comments

Comments
 (0)