From d2fabfc2a69ef1fa4134b0b0657fa54a2e8267c7 Mon Sep 17 00:00:00 2001 From: Aaron Bull Schaefer Date: Thu, 22 Aug 2013 14:37:52 -0700 Subject: [PATCH] Use root to ssh back in and uncomment auto-reboot --- arch-template.json | 2 +- install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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