From c280c6d26cb73350be95ccb6a0110b01e3f6ff5e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 14 May 2013 08:48:15 +0200 Subject: small fixes in cfengine installation, added a todo list --- TODOS | 9 +++++++++ archauto.sh | 17 +++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 TODOS diff --git a/TODOS b/TODOS new file mode 100644 index 0000000..cad6494 --- /dev/null +++ b/TODOS @@ -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 -- cgit v1.2.3-54-g00ecf