diff --git a/arch-template.json b/arch-template.json index 15f5578..837befa 100644 --- a/arch-template.json +++ b/arch-template.json @@ -12,7 +12,7 @@ "/usr/bin/bash ./install.sh" ], "disk_size": 20480, - "ssh_username": "vagrant", + "ssh_username": "root", "ssh_password": "vagrant", "shutdown_command": "systemctl poweroff" } diff --git a/install.sh b/install.sh index 80a461d..599f7d8 100644 --- a/install.sh +++ b/install.sh @@ -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