diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2013-05-15 20:30:29 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2013-05-15 20:30:29 +0200 |
commit | 7672b221bf54afa6debacc64d66f546bf117832c (patch) | |
tree | 345a5faf364675424a1dabb04a4913642053cdf0 | |
parent | 0873acd062b7cc7a81f45de941ce72c735a0af72 (diff) | |
download | archauto-7672b221bf54afa6debacc64d66f546bf117832c.tar.gz archauto-7672b221bf54afa6debacc64d66f546bf117832c.tar.bz2 |
fixed qemu installation (proxy, small details
-rw-r--r-- | BUGS | 6 | ||||
-rw-r--r-- | README | 1 | ||||
-rwxr-xr-x | archauto.sh | 18 |
3 files changed, 19 insertions, 6 deletions
@@ -0,0 +1,6 @@ +- pacman -U http:/xxx fails after 10 seconds, with too low download rate? + works if called manyally, even in chroot? + error: failed retrieving file 'cfengine-3.4.4-2-x86_64.pkg.tar.xz' from 10.0.2.2:8080 : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds warning: failed to download + http://10.0.2.2:8080/cfengine-3.4.4-2-x86_64.pkg.tar.xz error: 'http://10.0.2.2:8080/cfengine-3.4.4-2-x86_64.pkg.tar.xz': download library error + => changed to lighthttpd, from darkhttp, no difference + => supposing it's a pacman bug @@ -88,3 +88,4 @@ qemu-system-x86_64 -hda arch.img -net nic \ # http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=How_to_run_OVMF (UEFI BIOS) # https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/EdkShellBinPkg/FullShell/X64/Shell_Full.efi # https://wiki.archlinux.org/index.php/GRUB2 +# http://www.brianparsons.net/Best-Practices-For-Using-Arch-Linux-on-Servers/ 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 |