First working version for Netbootbox-Install
This commit is contained in:
parent
790f0327ca
commit
7bf673e2c6
59 changed files with 659 additions and 171 deletions
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Disable kexec-tools
|
||||
|
||||
if [ -e /sbin/kexec ]
|
||||
then
|
||||
echo "kexec-tools kexec-tools/load_kexec boolean false" > /root/preseed
|
||||
|
||||
debconf-set-selections /root/preseed
|
||||
|
||||
rm -f /root/preseed
|
||||
|
||||
dpkg-reconfigure kexec-tools
|
||||
fi
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Disable tmpfs on /tmp
|
||||
|
||||
if [ -e /etc/default/rcS ]
|
||||
then
|
||||
sed -i -e 's|^ *RAMTMP=.*|RAMTMP=no|' /etc/default/rcS
|
||||
fi
|
15
roles/edulive/files/standard-edu/config/hooks/live/0500-tmpshare.hook.chroot
Executable file
15
roles/edulive/files/standard-edu/config/hooks/live/0500-tmpshare.hook.chroot
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
## shared directory:
|
||||
mkdir /media/tmpshare
|
||||
echo "livebox:/srv/tmpshare /media/tmpshare nfs rw,auto,nofail,nolock 0 0" >> /etc/fstab
|
||||
|
||||
## remote journal:
|
||||
echo "URL=http://livebox" >> /etc/systemd/journal-upload.conf
|
||||
ln -s /lib/systemd/system/systemd-journal-upload.service \
|
||||
/etc/systemd/system/multi-user.target.wants/systemd-journal-upload.service
|
||||
|
||||
## workaround https://bugzilla.gnome.org/show_bug.cgi?id=730587
|
||||
#dpkg-divert --divert /usr/bin/gnome-keyring-daemon.bak --rename /usr/bin/gnome-keyring-daemon
|
Loading…
Add table
Add a link
Reference in a new issue