From d480a569dc7a2106f702404b4a943f70c504e82a Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 1 Aug 2013 16:58:44 +0200 Subject: adapted new naming conventions for all the scripts. for our own systemd service files: use: service-file-name.service ex: /etc/systemd/system/setup-proxy.service ALL systemd services files need to be under /etc/systemd/system for our own scripts: use: tool-what_it_does ex: /opt/openslx/scripts/systemd-setup_proxy ALL our scripts under /opt/openslx/scripts --- remote/modules/vmchooser/data/opt/openslx/bin/mount-lib-virt | 8 -------- .../vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100755 remote/modules/vmchooser/data/opt/openslx/bin/mount-lib-virt create mode 100755 remote/modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store (limited to 'remote/modules/vmchooser/data/opt') diff --git a/remote/modules/vmchooser/data/opt/openslx/bin/mount-lib-virt b/remote/modules/vmchooser/data/opt/openslx/bin/mount-lib-virt deleted file mode 100755 index 27a8f55c..00000000 --- a/remote/modules/vmchooser/data/opt/openslx/bin/mount-lib-virt +++ /dev/null @@ -1,8 +0,0 @@ -#!/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 diff --git a/remote/modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store b/remote/modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store new file mode 100755 index 00000000..27a8f55c --- /dev/null +++ b/remote/modules/vmchooser/data/opt/openslx/scripts/systemd-mount_vm_store @@ -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 -- cgit v1.2.3-55-g7522