summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/XX_vmchooser.sh
diff options
context:
space:
mode:
authorMichael Janczyk2009-11-03 20:27:46 +0100
committerMichael Janczyk2009-11-03 20:27:46 +0100
commit0aa892e4c902ee5abda867753372a201226883f2 (patch)
treeac62d6ccf3ddb562cc3e31d5b990b0bad38a5e7e /os-plugins/plugins/vmchooser/XX_vmchooser.sh
parentpath fix (diff)
downloadcore-0aa892e4c902ee5abda867753372a201226883f2.tar.gz
core-0aa892e4c902ee5abda867753372a201226883f2.tar.xz
core-0aa892e4c902ee5abda867753372a201226883f2.zip
wrong path fixed
copy is easier ;) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3187 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmchooser/XX_vmchooser.sh')
-rw-r--r--os-plugins/plugins/vmchooser/XX_vmchooser.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
index 5c53e444..1a16f84e 100644
--- a/os-plugins/plugins/vmchooser/XX_vmchooser.sh
+++ b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
@@ -16,8 +16,7 @@
. /etc/openslx.conf
CONFFILE="/initramfs/plugin-conf/vmchooser.conf"
-ETCDIR=${OPENSLX_DEFAULT_CONFDIR}
-PLUGINCONFDIR=/mnt/${ETCDIR}/plugins/vmchooser
+PLUGINCONFDIR=/mnt/${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser
BINDIR=/mnt/${OPENSLX_DEFAULT_BINDIR}
PLUGINDIR=${OPENSLX_DEFAULT_DIR}/plugin-repo/vmchooser
VIRTDIR=/mnt/${OPENSLX_DEFAULT_VIRTDIR}
@@ -31,7 +30,7 @@ if [ -e $CONFFILE ]; then
testmkd ${PLUGINCONFDIR}/fd-loop 1777
cp $CONFFILE ${PLUGINCONFDIR}/vmchooser.conf
# TODO: remove vmchooser-stage3.conf when vmchooser path adapted
- ln -s ${PLUGINCONFDIR}/vmchooser.conf ${ETCDIR}/vmchooser-stage3.conf
+ cp $CONFFILE ${OPENSLX_DEFAULT_CONFDIR}/vmchooser-stage3.conf
ln -s ${PLUGINDIR}/run-virt.sh ${BINDIR}/run-virt.sh
ln -s ${PLUGINDIR}/vmchooser ${BINDIR}/vmchooser