summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchauto.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/archauto.sh b/archauto.sh
index 4ef0962..a5c205a 100755
--- a/archauto.sh
+++ b/archauto.sh
@@ -37,7 +37,7 @@ mount ${INSTALL_DRIVE}${PARTITION_ROOT} ${MOUNT_PATH}
export http_proxy=http://192.168.1.12:3128
-pacstrap ${MOUNT_PATH} filesystem grep findutils coreutils glibc bash pacman mkinitcpio kernel26
+pacstrap ${MOUNT_PATH} filesystem grep findutils coreutils glibc bash pacman mkinitcpio kernel26 dhcpcd
arch-chroot ${MOUNT_PATH} pacman --noconfirm -S grub-bios
arch-chroot ${MOUNT_PATH} grub-install --target=i386-pc --recheck ${INSTALL_DRIVE}
@@ -76,7 +76,7 @@ arch-chroot ${MOUNT_PATH} pacman --noconfirm -S net-tools
arch-chroot ${MOUNT_PATH} pacman --noconfirm -S git-core
arch-chroot ${MOUNT_PATH} pacman --noconfirm -U http://10.0.2.2:8080/qdbm-1.8.78-1-x86_64.pkg.tar.xz
-arch-chroot ${MOUNT_PATH} pacman --noconfirm -U http://10.0.2.2:8080/cfengine-3.4.2-3-x86_64.pkg.tar.xz
+arch-chroot ${MOUNT_PATH} pacman --noconfirm -U http://10.0.2.2:8080/cfengine-3.4.4-2-x86_64.pkg.tar.xz
# install rules for the machine from git
@@ -87,4 +87,6 @@ arch-chroot ${MOUNT_PATH} systemctl enable cf-serverd
echo "Done."
+sleep 120
+
systemctl poweroff