diff --git a/source/orchestrationLogic/HEAT/bootup.ps1 b/source/orchestrationLogic/HEAT/bootup.ps1 index b4c7c418b4b476f4a49656b332b9e6dc5e3a77b7..14f043bee66e121649b9682a70bd131e48836c9e 100644 --- a/source/orchestrationLogic/HEAT/bootup.ps1 +++ b/source/orchestrationLogic/HEAT/bootup.ps1 @@ -1,5 +1,4 @@ #ps1_sysnative -Start-Sleep -s 1800 echo custom-script if( !(Test-Path -Path "C:\flag.txt")) { New-Item -Path "C:\flag.txt" diff --git a/source/orchestrationLogic/HEAT/dc-init.ps1 b/source/orchestrationLogic/HEAT/dc-init.ps1 index 7d89571555b24bd7bba2b13f0f6ee0d16f52bb18..3be3fe5cadace85bd506d5542e19788c6269da65 100644 --- a/source/orchestrationLogic/HEAT/dc-init.ps1 +++ b/source/orchestrationLogic/HEAT/dc-init.ps1 @@ -19,8 +19,9 @@ if( !(Test-Path -Path "C:\flag.txt")) { -DomainNetbiosName ROSE ` -SafeModeAdministratorPassword $secureSafeModePwd ` -InstallDns -NoRebootOnCompletion -force - exit 1001 + exit 1003 }else { + exit echo "else" New-Item -Path "C:\log.txt"