From 994aa36c095470f1c163e32b28fa324f7376f127 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Sun, 21 Mar 2010 19:50:12 +0100 Subject: qemukvm angepasst... geht noch nicht :( --- os-plugins/plugins/virtualbox/XX_virtualbox.sh | 2 +- os-plugins/plugins/virtualbox/files/machine.include | 2 +- os-plugins/plugins/virtualbox/files/run-virt.include | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'os-plugins/plugins/virtualbox') diff --git a/os-plugins/plugins/virtualbox/XX_virtualbox.sh b/os-plugins/plugins/virtualbox/XX_virtualbox.sh index 1ca15fd9..4fa0b7bb 100644 --- a/os-plugins/plugins/virtualbox/XX_virtualbox.sh +++ b/os-plugins/plugins/virtualbox/XX_virtualbox.sh @@ -28,7 +28,7 @@ if [ -e ${CONFFILE} ]; then # Test if this plugin is activated... more or less useless with the # new plugin system - if [ $virtualbox_active -ne 0 ]; then + if [ $virtualbox_active -ne 0 2>/dev/null ]; then [ $DEBUGLEVEL -gt 0 ] && echo "executing the 'virtualbox' os-plugin ..."; # load general configuration diff --git a/os-plugins/plugins/virtualbox/files/machine.include b/os-plugins/plugins/virtualbox/files/machine.include index bc1817de..6496b616 100644 --- a/os-plugins/plugins/virtualbox/files/machine.include +++ b/os-plugins/plugins/virtualbox/files/machine.include @@ -61,7 +61,7 @@ cat < - + diff --git a/os-plugins/plugins/virtualbox/files/run-virt.include b/os-plugins/plugins/virtualbox/files/run-virt.include index a24845a3..62ef769d 100644 --- a/os-plugins/plugins/virtualbox/files/run-virt.include +++ b/os-plugins/plugins/virtualbox/files/run-virt.include @@ -203,7 +203,7 @@ writelog "\tNetwork kind:\t\t${network_kind}" #writelog "\tCD-ROM1:\t${cdrom0}" #writelog "\tCD-ROM2:\t${cdrom1}" #writelog "\tFloppy_A:\t${floppy0}" -writelog "\tShared Folders 'Home':\t/home/${USER}" +writelog "\tShared Folders 'home':\t/home/${USER}" ################################################################################ ### Pepare and configure virtual machine and disk image @@ -219,11 +219,11 @@ writelog "\tShared Folders 'Home':\t/home/${USER}" # add rw share to vm, if existing if [ -n "${rwshare}" ]; then - sharedf='" sed -i "s,, ${sharedf}\n ," \ "${machconfig}" - writelog "\tShared Folders 'Share':\t${rwshare}" + writelog "\tShared Folders 'share':\t${rwshare}" fi # add ssh port if linux and NAT -- cgit v1.2.3-55-g7522