summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmchooser/data
diff options
context:
space:
mode:
authorSimon Rettberg2013-05-24 21:10:10 +0200
committerSimon Rettberg2013-05-24 21:10:10 +0200
commit60767203dfab0cf321d3e830e1d1af213bf6df74 (patch)
tree3bd4035d502b6f6850538b7c74187e7799917c53 /remote/modules/vmchooser/data
parent[vmchooser] mount vm-nfs-share read only (diff)
downloadtm-scripts-60767203dfab0cf321d3e830e1d1af213bf6df74.tar.gz
tm-scripts-60767203dfab0cf321d3e830e1d1af213bf6df74.tar.xz
tm-scripts-60767203dfab0cf321d3e830e1d1af213bf6df74.zip
IMPORTANT: Implemented remote config that will be loaded at bootup
IMPORTANT: You need to add the URL to a config to the kernel command line IMPORTANT: or you won't see any vmware images anymore in your vmchooser IMPORTANT: add 'APPEND slxconfig=http://132.230.8.113/boot/config' to IMPORTANT: your tftp config for a start...
Diffstat (limited to 'remote/modules/vmchooser/data')
-rw-r--r--remote/modules/vmchooser/data/etc/systemd/system/var-lib-virt.mount10
-rw-r--r--remote/modules/vmchooser/data/etc/systemd/system/var-lib-virt.service8
2 files changed, 8 insertions, 10 deletions
diff --git a/remote/modules/vmchooser/data/etc/systemd/system/var-lib-virt.mount b/remote/modules/vmchooser/data/etc/systemd/system/var-lib-virt.mount
deleted file mode 100644
index 21ac1544..00000000
--- a/remote/modules/vmchooser/data/etc/systemd/system/var-lib-virt.mount
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
- Description=Mount vm-store NFS
-
- [Mount]
- What=vm-store.public.ads.uni-freiburg.de:vmwareImages/vmware/vmware65
- Where=/var/lib/virt
- Type=nfs
- Options=ro,async,nolock,vers=3
- StandardOutput=syslog
- StandardError=syslog
diff --git a/remote/modules/vmchooser/data/etc/systemd/system/var-lib-virt.service b/remote/modules/vmchooser/data/etc/systemd/system/var-lib-virt.service
new file mode 100644
index 00000000..7a4b4f58
--- /dev/null
+++ b/remote/modules/vmchooser/data/etc/systemd/system/var-lib-virt.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Mount vm-store NFS
+Wants=download-config.service
+After=download-config.service
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/bin/mount-lib-virt