X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FGRUB_PC%2F11-ian;h=6a55e4406455b436292444cba56a344a7705a23d;hb=4513744c21305718caaf0ebce22ec328c0367860;hp=199e4f860745ac55c1eb4ac23fc3509d08cfcb58;hpb=d6df8985152a6c17523cedc3fee62694544eeaf2;p=automated-distro-installer diff --git a/fai/config/scripts/GRUB_PC/11-ian b/fai/config/scripts/GRUB_PC/11-ian index 199e4f8..6a55e44 100755 --- a/fai/config/scripts/GRUB_PC/11-ian +++ b/fai/config/scripts/GRUB_PC/11-ian @@ -8,21 +8,28 @@ if [[ $EUID != 0 ]]; then exit 1 fi - if ! type -t fcopy &>/dev/null; then sudo apt-get -y install fai-client fi 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 </dev/null; then usermod -aG systemd-journal ian - # makes the journal be saved to disk. - mkdir -p /var/log/journal - chmod 755 /var/log/journal fi # https://askubuntu.com/questions/33416/how-do-i-disable-the-boot-splash-screen-and-only-show-kernel-and-boot-text-inst # it suggests not having plymouth-theme-ubuntu-text, but