diff options
| author | Jonathan Bauer | 2013-06-10 13:35:57 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-06-10 13:35:57 +0200 |
| commit | 10407481f74a8486cb5c7fe159d0564418dea8c2 (patch) | |
| tree | c0d916089dab9fc763ef4bb645e6c7ffa43193f8 /remote/modules/vmchooser/data | |
| parent | [rootfs-stage31] revert changing mac of eth0 (diff) | |
| parent | Keyboard translations now not gzipped. (diff) | |
| download | tm-scripts-10407481f74a8486cb5c7fe159d0564418dea8c2.tar.gz tm-scripts-10407481f74a8486cb5c7fe159d0564418dea8c2.tar.xz tm-scripts-10407481f74a8486cb5c7fe159d0564418dea8c2.zip | |
Merge branch 'master' of simonslx:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/vmchooser/data')
| -rwxr-xr-x | remote/modules/vmchooser/data/opt/openslx/bin/mount-lib-virt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/remote/modules/vmchooser/data/opt/openslx/bin/mount-lib-virt b/remote/modules/vmchooser/data/opt/openslx/bin/mount-lib-virt new file mode 100755 index 00000000..27a8f55c --- /dev/null +++ b/remote/modules/vmchooser/data/opt/openslx/bin/mount-lib-virt @@ -0,0 +1,8 @@ +#!/bin/bash + +. /opt/openslx/config || exit 1 + +export PATH="$PATH:/opt/openslx/bin:/opt/openslx/usr/bin:/opt/openslx/sbin:/opt/openslx/usr/sbin" + +mkdir -p /var/lib/virt +mount -t nfs -o ro,async,nolock,vers=3 "$SLX_VM_NFS" /var/lib/virt |
