summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Rettberg2013-10-04 10:13:13 +0200
committerSimon Rettberg2013-10-04 10:13:13 +0200
commit81f0485fa30fc6a966356ddf8ccf64d18be52a96 (patch)
treeac3e5f368e619b9c87d3c470e7f553f656b293e2 /server
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-81f0485fa30fc6a966356ddf8ccf64d18be52a96.tar.gz
tm-scripts-81f0485fa30fc6a966356ddf8ccf64d18be52a96.tar.xz
tm-scripts-81f0485fa30fc6a966356ddf8ccf64d18be52a96.zip
[config.tgz] Add module to mount stage4 at boot-up, enable by default inf configs/freiburg
Diffstat (limited to 'server')
-rw-r--r--server/blacklists/essential/linux-base3
l---------server/configs/freiburg/stage4-at-boot1
l---------server/modules/stage4-at-boot/etc/systemd/system/basic.target.wants/nfs-mount.service1
3 files changed, 5 insertions, 0 deletions
diff --git a/server/blacklists/essential/linux-base b/server/blacklists/essential/linux-base
index 522ae191..0f417425 100644
--- a/server/blacklists/essential/linux-base
+++ b/server/blacklists/essential/linux-base
@@ -1,3 +1,5 @@
+# Always include ldconfig/cache of full system:
++ /etc/ld.so.**
- /boot/
- /cdrom/
- /dev/
@@ -23,6 +25,7 @@
- /var/spool/**
- /etc/resolv.conf
- /etc/resolvconf/
+- /etc/mtab
- **/tm-scripts/
- /initrd.img
- /initrd.img.old
diff --git a/server/configs/freiburg/stage4-at-boot b/server/configs/freiburg/stage4-at-boot
new file mode 120000
index 00000000..b1ec86ba
--- /dev/null
+++ b/server/configs/freiburg/stage4-at-boot
@@ -0,0 +1 @@
+../../modules/stage4-at-boot \ No newline at end of file
diff --git a/server/modules/stage4-at-boot/etc/systemd/system/basic.target.wants/nfs-mount.service b/server/modules/stage4-at-boot/etc/systemd/system/basic.target.wants/nfs-mount.service
new file mode 120000
index 00000000..1936daef
--- /dev/null
+++ b/server/modules/stage4-at-boot/etc/systemd/system/basic.target.wants/nfs-mount.service
@@ -0,0 +1 @@
+../nfs-mount.service \ No newline at end of file