mirror of
https://github.com/elasticdog/packer-arch.git
synced 2026-07-18 00:45:20 +00:00
Use root to ssh back in and uncomment auto-reboot
This commit is contained in:
parent
aba5d1be01
commit
d2fabfc2a6
2 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@
|
|||
"/usr/bin/bash ./install.sh<enter>"
|
||||
],
|
||||
"disk_size": 20480,
|
||||
"ssh_username": "vagrant",
|
||||
"ssh_username": "root",
|
||||
"ssh_password": "vagrant",
|
||||
"shutdown_command": "systemctl poweroff"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,5 +65,5 @@ add_config '/usr/bin/pacman -Scc --noconfirm'
|
|||
echo '==> entering chroot and configuring system'
|
||||
/usr/bin/arch-chroot ${TARGET_DIR} ${CONFIG_SCRIPT}
|
||||
rm "${TARGET_DIR}${CONFIG_SCRIPT}"
|
||||
#/usr/bin/umount ${TARGET_DIR}
|
||||
#/usr/bin/systemctl reboot
|
||||
/usr/bin/umount ${TARGET_DIR}
|
||||
/usr/bin/systemctl reboot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue