summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/XX_vmchooser.sh
diff options
context:
space:
mode:
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