diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2013-05-14 08:48:15 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2013-05-14 08:48:15 +0200 |
commit | c280c6d26cb73350be95ccb6a0110b01e3f6ff5e (patch) | |
tree | db6134a9dc939fbda586b084e0b34141b2acfb69 | |
parent | 460ef38c1079037b337d26e5e2c22c20890c1edc (diff) | |
download | archauto-c280c6d26cb73350be95ccb6a0110b01e3f6ff5e.tar.gz archauto-c280c6d26cb73350be95ccb6a0110b01e3f6ff5e.tar.bz2 |
small fixes in cfengine installation, added a todo list
-rw-r--r-- | TODOS | 9 | ||||
-rwxr-xr-x | archauto.sh | 17 |
2 files changed, 22 insertions, 4 deletions
@@ -0,0 +1,9 @@ +- SigLevel = Newer, because we have a problem to distribute AUR + packages signed (own server for software distribution, but + then we hav to fiddle with the keyring of pacman) +- cfengine draws in half of X11 and some other funny dependencies! + Not really acceptable for a server or virtual appliance + => libvirt needs too many packages, this is ok, if used for + a host, but not if used for an applicance, so we should have + the cfengine packages in different flavours + diff --git a/archauto.sh b/archauto.sh index 1fd1aae..4bca008 100755 --- a/archauto.sh +++ b/archauto.sh @@ -37,7 +37,6 @@ mount ${INSTALL_DRIVE}${PARTITION_ROOT} ${MOUNT_PATH} export http_proxy=http://192.168.1.12:3128 -#pacstrap ${MOUNT_PATH} base base-devel pacstrap ${MOUNT_PATH} base arch-chroot /mnt pacman --noconfirm -S grub-bios @@ -60,15 +59,25 @@ arch-chroot /mnt hwclock --systohc --utc echo "archiso" > /mnt/etc/hostname -arch-chroot /mnt systemctl enable dhcpcd@enp0s3.service +arch-chroot /mnt systemctl enable dhcpcd@ens3.service arch-chroot /mnt sh -c "echo 'root:xx' | chpasswd" +# switch off signature for now +arch-chroot /mnt sed -i 's/^SigLevel.*/SigLevel = Never/g' /etc/pacman.conf + # monitord needs netstat arch-chroot /mnt pacman --noconfirm -S net-tools -arch-chroot /mnt pacman --noconfirm -Uf http://10.0.2.2:8080/qdbm-1.8.78-1-x86_64.pkg.tar.xz -arch-chroot /mnt pacman --noconfirm -Uf http://10.0.2.2:8080/cfengine-3.4.2-3-x86_64.pkg.tar.xz +# we use 'git' to manage our promises +arch-chroot /mnt pacman --noconfirm -S git-core + +arch-chroot /mnt pacman --noconfirm -U http://10.0.2.2:8080/qdbm-1.8.78-1-x86_64.pkg.tar.xz +arch-chroot /mnt pacman --noconfirm -U http://10.0.2.2:8080/cfengine-3.4.2-3-x86_64.pkg.tar.xz + +# install rules for the machine from git + +# enable cfengine arch-chroot /mnt systemctl enable cf-execd arch-chroot /mnt systemctl enable cf-monitord arch-chroot /mnt systemctl enable cf-serverd |