diff options
Diffstat (limited to 'archauto.sh')
-rwxr-xr-x | archauto.sh | 18 |
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 |