summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2013-05-15 16:10:44 +0200
committerAndreas Baumann <abaumann@yahoo.com>2013-05-15 16:10:44 +0200
commitc9ef5b93faf0e2cfeda741f36a3a068cc9be19cb (patch)
tree803f3f17aea5dd4d703c958fce298f8a63716e37
parent3072a476604c7484073091da88b55caad68c8076 (diff)
downloadarchauto-c9ef5b93faf0e2cfeda741f36a3a068cc9be19cb.tar.gz
archauto-c9ef5b93faf0e2cfeda741f36a3a068cc9be19cb.tar.bz2
-
-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