summaryrefslogtreecommitdiff
path: root/archauto.sh
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2013-05-15 20:30:29 +0200
committerAndreas Baumann <abaumann@yahoo.com>2013-05-15 20:30:29 +0200
commit7672b221bf54afa6debacc64d66f546bf117832c (patch)
tree345a5faf364675424a1dabb04a4913642053cdf0 /archauto.sh
parent0873acd062b7cc7a81f45de941ce72c735a0af72 (diff)
downloadarchauto-7672b221bf54afa6debacc64d66f546bf117832c.tar.gz
archauto-7672b221bf54afa6debacc64d66f546bf117832c.tar.bz2
fixed qemu installation (proxy, small details
Diffstat (limited to 'archauto.sh')
-rwxr-xr-xarchauto.sh18
1 files changed, 12 insertions, 6 deletions
diff --git a/archauto.sh b/archauto.sh
index 35329f9..7640978 100755
--- a/archauto.sh
+++ b/archauto.sh
@@ -75,16 +75,22 @@ arch-chroot ${MOUNT_PATH} pacman --noconfirm -S net-tools
# we use 'git' to manage our promises
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.4-2-x86_64.pkg.tar.xz
+# switch proxy off now, we go local now
+unset http_proxy
+
+arch-chroot ${MOUNT_PATH} pacman --noconfirm -v -U http://10.0.2.2:8080/qdbm-1.8.78-1-x86_64.pkg.tar.xz
+arch-chroot ${MOUNT_PATH} pacman --noconfirm -v -U http://10.0.2.2:8080/cfengine-3.4.4-2-x86_64.pkg.tar.xz
# install rules for the machine from git
+# TODO
# enable cfengine
-arch-chroot ${MOUNT_PATH} systemctl enable cf-execd
-arch-chroot ${MOUNT_PATH} systemctl enable cf-monitord
-arch-chroot ${MOUNT_PATH} systemctl enable cf-serverd
+arch-chroot ${MOUNT_PATH} systemctl enable cf-execd.service
+arch-chroot ${MOUNT_PATH} systemctl enable cf-monitord.service
+arch-chroot ${MOUNT_PATH} systemctl enable cf-serverd.service
+
+echo "Done. Press any key to poweroff."
-echo "Done."
+read x
systemctl poweroff