Fixed the issues for ssvm and cpvm to wait until it gets configured and then return the status. Made checksum method to return true.

This commit is contained in:
Rajesh Battala 2013-10-29 15:43:28 +05:30
parent 7ac1ac9faf
commit 279793e530
2 changed files with 2 additions and 2 deletions

View File

@ -1193,7 +1193,7 @@ namespace HypervResource
{
return true;
}
return false;
return true;
}
/// <summary>

View File

@ -348,7 +348,7 @@ namespace HypervResource
SetState(newVm, RequiredState.Enabled);
// we need to reboot to get the hv kvp daemon get started vr gets configured.
if (vmName.StartsWith("r-"))
if (vmName.StartsWith("r-") || vmName.StartsWith("s-") || vmName.StartsWith("v-"))
{
System.Threading.Thread.Sleep(90000);
SetState(newVm, RequiredState.Reboot);