iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add support for trisquel belanos
[automated-distro-installer]
/
fai
/
config
/
scripts
/
GRUB_PC
/
11-ian
diff --git
a/fai/config/scripts/GRUB_PC/11-ian
b/fai/config/scripts/GRUB_PC/11-ian
index 11cd818d50df43b2130ed64bf08608cf9bb79e39..e27e394e8ac3509032d1ab194fc8c35812ebee92 100755
(executable)
--- a/
fai/config/scripts/GRUB_PC/11-ian
+++ b/
fai/config/scripts/GRUB_PC/11-ian
@@
-54,9
+54,16
@@
cp -rL /home/ian/.ssh /root
chown -R root:root /root/.ssh
chmod 700 /root/.ssh
chown -R root:root /root/.ssh
chmod 700 /root/.ssh
+
# default jessie groups + kvm, systemd-journal, adm
# default jessie groups + kvm, systemd-journal, adm
-usermod -aG adm,cdrom,floppy,sudo,audio,dip,video,plugdev,netdev
,systemd-journal
ian
+usermod -aG adm,cdrom,floppy,sudo,audio,dip,video,plugdev,netdev ian
+if getent group systemd-journal >/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
# making it not installed then kills plymouth, then makes
# 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
# making it not installed then kills plymouth, then makes
@@
-75,6
+82,3
@@
for g in plugdev audio video cdrom; do
$ROOTCMD usermod -a -G $g traci
done
$ROOTCMD usermod -a -G $g traci
done
-# makes the journal be saved to disk.
-$ROOTCMD mkdir -p $FAI_ROOT/var/log/journal
-$ROOTCMD chmod 755 $FAI_ROOT/var/log/journal