You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($machine_type=="simplemachine"||$machine_type=="sourcemachine")
$source_volume="";
if (empty($vm) && empty($hypervisor) && $engine!='OpenStack'){
header("Location: $serviceurl/dashboard.php");
exit;
}
if ($engine != 'OpenStack'){
add_SQL_line("UPDATE vms SET snapshot='$snapshot',source_volume='$source_volume',machine_type='$machine_type', os_type='$os_type' WHERE id='$vm'");
header("Location: $serviceurl/dashboard.php");
exit;
}
else
add_SQL_line("UPDATE vms SET snapshot='$snapshot',source_volume='$source_volume',machine_type='$machine_type', os_type='$os_type' WHERE osInstanceId='$vm'");