mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
This commit is contained in:
commit
c3f96a7ed5
@ -35,7 +35,7 @@ import com.cloud.utils.net.NetUtils;
|
|||||||
@PrimaryKeyJoinColumn(name="id")
|
@PrimaryKeyJoinColumn(name="id")
|
||||||
@DiscriminatorValue(value="DomainRouter")
|
@DiscriminatorValue(value="DomainRouter")
|
||||||
public class DomainRouterVO extends VMInstanceVO implements DomainRouter {
|
public class DomainRouterVO extends VMInstanceVO implements DomainRouter {
|
||||||
@Column(name="ram_size", updatable=false, nullable=false)
|
@Column(name="ram_size", nullable=false)
|
||||||
private int ramSize;
|
private int ramSize;
|
||||||
|
|
||||||
@Column(name="gateway")
|
@Column(name="gateway")
|
||||||
|
|||||||
@ -825,12 +825,12 @@ function initVMWizard() {
|
|||||||
$("body").stopTime(timerKey);
|
$("body").stopTime(timerKey);
|
||||||
if (result.jobstatus == 1) {
|
if (result.jobstatus == 1) {
|
||||||
// Succeeded
|
// Succeeded
|
||||||
vmToMidmenu(result.virtualmachine[0], $midmenuItem1);
|
vmToMidmenu(result.jobresult.deployvirtualmachineresponse, $midmenuItem1);
|
||||||
bindClickToMidMenu($midmenuItem1, vmToRightPanel, getMidmenuId);
|
bindClickToMidMenu($midmenuItem1, vmToRightPanel, getMidmenuId);
|
||||||
if (result.virtualmachine[0].passwordenabled == 'true') {
|
if (result.jobresult.deployvirtualmachineresponse.passwordenabled == 'true') {
|
||||||
var extraMessage = "New password: " + result.virtualmachine[0].password;
|
var extraMessage = "New password: " + result.jobresult.deployvirtualmachineresponse.password;
|
||||||
afterAddingMidMenuItem($midmenuItem1, true, extraMessage);
|
afterAddingMidMenuItem($midmenuItem1, true, extraMessage);
|
||||||
var afterActionInfo = "Your instance has been successfully created. Your new password is : " + result.virtualmachine[0].password;
|
var afterActionInfo = "Your instance has been successfully created. Your new password is : " + result.jobresult.deployvirtualmachineresponse.password;
|
||||||
$midmenuItem1.data("afterActionInfo", afterActionInfo);
|
$midmenuItem1.data("afterActionInfo", afterActionInfo);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user