X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=README;h=f77aa11235945efd4c4c26610eaf1f2eee41c17e;hp=9899ed31c32b18e35b0ceee819fcab2d89984e73;hb=05e47f6734e5a9354a3243686ae55fe4ab2b72c7;hpb=f0d1a07f2c696d1aace04763424fc6ad13751fb3 diff --git a/README b/README index 9899ed3..f77aa11 100644 --- a/README +++ b/README @@ -103,6 +103,31 @@ exit reboot +# dirinstall + +host=kw +distro=flidas +t=/tmp/d +# be root: +sudo sed -i 's/^LOGUSER=/#LOGUSER=/' /etc/fai/fai.conf +# required after a failed run +umount /var/lib/fai/config ||: +fai-redep faiserver $distro +rm -rf $t ; mkdir $t; fai -N -u $host dirinstall $t + +# cleanup: +sudo sed -i 's/^#LOGUSER=/LOGUSER=/' /etc/fai/fai.conf +s umount -R $t/proc + + +# Turning a dirinstall into a basefile. taken from mk-basefile + +chroot $t apt-get clean +rm -f $t/etc/hostname $t/etc/resolv.conf \ + $t/var/lib/apt/lists/*_* $t/usr/bin/qemu-*-static \ + $t/etc/udev/rules.d/70-persistent-net.rules +> $t/etc/machine-id +tar --one-file-system -C $t -cf - . | gzip > /a/bin/fai-basefiles/basefiles/FLIDAS64X.tar.gz License stuff: The license for the project is GPLv2 or later, mostly because fai is and