diff options
Diffstat (limited to 'core/modules/vmchooser2')
-rwxr-xr-x | core/modules/vmchooser2/data/opt/openslx/bin/vmchooser | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser b/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser index 5df1536e..21efe6df 100755 --- a/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser +++ b/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser @@ -43,7 +43,12 @@ if [ -n "$SLX_EXAM" ]; then elif [ -n "$SLX_AUTOSTART_UUID" ]; then SLX_EXAM_START="$SLX_AUTOSTART_UUID" fi -[ -z "$SLX_NO_PVS" ] && EXTRA="$EXTRA --pvs" +if [ -z "$SLX_NO_PVS" ]; then + EXTRA="$EXTRA --pvs" + if [ "x$SLX_PVS_DEFAULT" = "xON" ]; then + EXTRA="$EXTRA --pvs-checked" + fi +fi # No quotes around $EXTRA! if [ -z "$SLX_LOCATIONS" ]; then |