From 7b1c92a026b0c67dc1d4d661bee726850846f7fc Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 27 Mar 2009 18:43:37 +0000 Subject: 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 --- os-plugins/plugins/vmchooser/XX_vmchooser.sh | 8 +++++--- 1 file 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 -- cgit v1.2.3-55-g7522