From cf037ad50701aa29ffe8e0cccebb4aab3c7751b2 Mon Sep 17 00:00:00 2001 From: thaibault Date: Tue, 2 Jul 2013 14:38:54 +0200 Subject: Patched code to support persistent virtual machines for specified users. --- remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'remote/modules/vmplayer/data/etc') diff --git a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include index 9b0fea91..e50ed992 100644 --- a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include +++ b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include @@ -117,9 +117,8 @@ MemAllowAutoScaleDown = "FALSE" MemTrimRate = "-1" # ide-disks -ide0:0.present = "$ide" -ide0:0.fileName = "$diskfile" -ide0:0.mode = "independent-nonpersistent" + +ide0:0.mode = \"independent-${diskmode}\" ide1:0.present = "$cdrom0" ide1:0.autodetect = "TRUE" ide1:0.fileName = "auto detect" @@ -134,7 +133,7 @@ scsi0.present = "$scsi" scsi0:0.present = "$scsi" scsi0:0.fileName = "$diskfile" scsi0.virtualDev = "$hddrv" -scsi0:0.mode = "independent-nonpersistent" +scsi0:0.mode = \"independent-${diskmode}\" # floppies floppy0.present = "$floppy0" @@ -447,7 +446,7 @@ cp "/etc/openslx/vmware/nvram" "$confdir/nvram" 2>/dev/null # log script information writelog "# File created by $0 (VMversion ${vmversion})\n# on $(date)\n" -writelog "Starting with non-persistent mode ...\n" +writelog "Starting with ${diskmode} mode ...\n" # write all results to logfile # log disksetup -- cgit v1.2.3-55-g7522 From 41108f3056d91b4f8c6fa41be48a4f314f0b5dce Mon Sep 17 00:00:00 2001 From: thaibault Date: Tue, 2 Jul 2013 14:50:35 +0200 Subject: Add executable rights to all scripts. --- remote/modules/vmchooser/data/opt/openslx/bin/clc.bash | 0 remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh | 0 remote/modules/vmchooser/data/opt/openslx/bin/xmlfilter.sh | 0 remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include | 0 4 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 remote/modules/vmchooser/data/opt/openslx/bin/clc.bash mode change 100644 => 100755 remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh mode change 100644 => 100755 remote/modules/vmchooser/data/opt/openslx/bin/xmlfilter.sh mode change 100644 => 100755 remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include (limited to 'remote/modules/vmplayer/data/etc') diff --git a/remote/modules/vmchooser/data/opt/openslx/bin/clc.bash b/remote/modules/vmchooser/data/opt/openslx/bin/clc.bash old mode 100644 new mode 100755 diff --git a/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh b/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh old mode 100644 new mode 100755 diff --git a/remote/modules/vmchooser/data/opt/openslx/bin/xmlfilter.sh b/remote/modules/vmchooser/data/opt/openslx/bin/xmlfilter.sh old mode 100644 new mode 100755 diff --git a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include old mode 100644 new mode 100755 -- cgit v1.2.3-55-g7522