summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-03-27 19:43:37 +0100
committerDirk von Suchodoletz2009-03-27 19:43:37 +0100
commit7b1c92a026b0c67dc1d4d661bee726850846f7fc (patch)
tree45c54eacf7a562caa159df58de61f1ef3bd4f82d /os-plugins
parentCombining #2755 and #2760 (as both is needed for some reason). (diff)
downloadcore-7b1c92a026b0c67dc1d4d661bee726850846f7fc.tar.gz
core-7b1c92a026b0c67dc1d4d661bee726850846f7fc.tar.xz
core-7b1c92a026b0c67dc1d4d661bee726850846f7fc.zip
Have vmchooser available within the search path and just link the
run-virt.sh script instead of copying ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2763 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/vmchooser/XX_vmchooser.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
index 85362fd2..716c42f8 100644
--- a/os-plugins/plugins/vmchooser/XX_vmchooser.sh
+++ b/os-plugins/plugins/vmchooser/XX_vmchooser.sh
@@ -25,9 +25,11 @@ if [ -e $CONFFILE ]; then
testmkd /mnt/etc/opt/openslx
cp $CONFFILE /mnt/etc/opt/openslx/vmchooser-stage3.conf
- testmkd /mnt/var/X11R6/bin
- cp /mnt/opt/openslx/plugin-repo/vmchooser/run-virt.sh \
- /mnt/var/X11R6/bin
+ testmkd /mnt/var/X11R6/bin
+ ln -s /opt/openslx/plugin-repo/vmchooser/run-virt.sh \
+ /mnt/var/X11R6/bin/run-virt.sh
+ ln -s /opt/openslx/plugin-repo/vmchooser/vmchooser \
+ /mnt/var/X11R6/bin/vmchooser
# setup all generic virtualization / starting stuff like the floppy image
testmkd /mnt/var/lib/virt/vmchooser/fd-loop 1777