X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FGRUB_PC%2F11-ian;h=72dc7ec64d57f42ee0879e92f905a66c84c3fdaa;hb=645ab36988f8eed2e85d066bdf1ad8a12e7aabc0;hp=f4f1b7c87823afe24ea42ba7c87e4613d95ae0e2;hpb=1b26da151c100d0c58910228d24ee52297da3974;p=automated-distro-installer diff --git a/fai/config/scripts/GRUB_PC/11-ian b/fai/config/scripts/GRUB_PC/11-ian index f4f1b7c..72dc7ec 100755 --- a/fai/config/scripts/GRUB_PC/11-ian +++ b/fai/config/scripts/GRUB_PC/11-ian @@ -13,65 +13,73 @@ if ! type -t fcopy &>/dev/null; then 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 + usermod -aG systemd-journal iank 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 @@ -86,7 +94,7 @@ update-grub2 EOF -# reading through the groups that ian is in but traci isn't, +# reading through the groups that iank is in but traci isn't, for g in plugdev audio video cdrom; do $ROOTCMD usermod -a -G $g traci done