X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FIANK%2F11-iank;fp=fai%2Fconfig%2Fscripts%2FIANK%2F11-iank;h=1ffb74d575cb0000e6fe836299e1994b296f9ea0;hp=47b97ad98720d08c4d48338369b413929180bbf5;hb=14f283f82afc48d6cec1bb7498ec34ac2b0da77c;hpb=bd3227e34e549257fee819cf6bd50fe202ca7996 diff --git a/fai/config/scripts/IANK/11-iank b/fai/config/scripts/IANK/11-iank index 47b97ad..1ffb74d 100755 --- a/fai/config/scripts/IANK/11-iank +++ b/fai/config/scripts/IANK/11-iank @@ -26,7 +26,6 @@ fi # -B = no backup files fcopy -riBM /boot # this is also done by FAIBASE/10-misc by default (without B) -fcopy -riBM /root fcopy -riBM /usr/local/bin # this gets done by fai, but just happens too often that @@ -55,9 +54,6 @@ tmpfile1=$(mktemp) chroot $FAI_ROOT /usr/bin/apt-cache policy >$tmpfile1 ||: fcopy -riBM /etc/apt -# get ubuntu key, for running from fai wrapper. -apt-key add $FAI/package_config/UBUNTU.asc - tmpfile2=$(mktemp) chroot $FAI_ROOT /usr/bin/apt-cache policy >$tmpfile2 if ! diff -q $tmpfile1 $tmpfile2; then @@ -84,29 +80,9 @@ fi #### misc configurations -chroot $FAI_ROOT bash <<'EOFOUTER' -if getent group systemd-journal >/dev/null; then - # makes the journal be saved to disk. - mkdir -p /var/log/journal - chmod 755 /var/log/journal -fi -debconf-set-selections <$FAI_ROOT/etc/grub.d/40_custom </dev/null; then - update-grub2 -else - update-grub -fi - -EOF fi ##### end != dirinstall && != NOCRYPT @@ -292,7 +222,6 @@ EOF if [[ $HOSTNAME == li ]]; then - cat > $target/etc/network/interfaces <<-EOF # generated by FAI auto lo eth0 @@ -315,12 +244,6 @@ EOF fi fi -# I prefer to stick with ifup/down for now. a. networkd is not in its -# own package, so cant use in other init systems. b. it works fine. -chroot $FAI_ROOT bash <