Taking into account disabled vms for a scenario
This commit is contained in:
@@ -95,8 +95,11 @@ function _buildVarsExec( exec, provision, scenario ) {
|
||||
}
|
||||
|
||||
if ( provision.vmImage[key].vmType ) {
|
||||
exec.push('-var');
|
||||
exec.push(`vm_type_${key}=${provision.vmImage[key].vmType}`);
|
||||
|
||||
if ( !provision.vmImage[key].disabled ) {
|
||||
exec.push('-var');
|
||||
exec.push(`vm_type_${key}=${provision.vmImage[key].vmType}`);
|
||||
}
|
||||
}
|
||||
|
||||
if ( provision.vmImage[key].diskSizeGb ) {
|
||||
|
||||
Reference in New Issue
Block a user