fix hostnames. pass ram size to create
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
110656cbce
commit
26acff1147
|
@ -32,18 +32,18 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
|
|||
log.Println("account.Username = ", config.Accounts[key].Username)
|
||||
log.Println("account.Token = ", config.Accounts[key].Token)
|
||||
|
||||
name := "Login" // + config.Accounts[key].Nick
|
||||
makeButton(vbox, config.Accounts[key], nil, name, "LOGIN", login)
|
||||
// name := "Login" // + config.Accounts[key].Nick
|
||||
// makeButton(vbox, config.Accounts[key], nil, name, "LOGIN", login)
|
||||
|
||||
// name = "Show " + config.Accounts[key].Nick
|
||||
name = "Show"
|
||||
makeButton(vbox, config.Accounts[key], nil, name, "SHOW", showAccountClick)
|
||||
// name = "Show"
|
||||
// makeButton(vbox, config.Accounts[key], nil, name, "SHOW", showAccountClick)
|
||||
|
||||
name = "Configure"
|
||||
makeButton(vbox, config.Accounts[key], nil, name, "CONFIG", nil)
|
||||
// name = "Configure"
|
||||
makeButton(vbox, config.Accounts[key], nil, "Configure", "CONFIG", showAccountClick)
|
||||
|
||||
gui.NewLabel(vbox, config.Accounts[key].Domain)
|
||||
// gui.NewLabel(vbox, config.Accounts[key].Email)
|
||||
name := config.Accounts[key].Nick + " (" + config.Accounts[key].Domain + ")"
|
||||
gui.NewLabel(vbox, name)
|
||||
}
|
||||
|
||||
Xbox := gui.HardBox(gw, gui.Xaxis, "subdomain test")
|
||||
|
|
|
@ -88,7 +88,7 @@ func runPingClick(b *gui.GuiButton) {
|
|||
}
|
||||
spew.Dump(b)
|
||||
var tmp []string
|
||||
tmp = append(tmp, "xterm", "-geometry", "120x30", "-e", "ping " + hostname + ";sleep 3")
|
||||
tmp = append(tmp, "nohup", "xterm", "-geometry", "120x30", "-e", "ping " + hostname + ";sleep 3")
|
||||
go runCommand(tmp)
|
||||
log.Println("runPingClick END")
|
||||
}
|
||||
|
|
|
@ -71,6 +71,9 @@ func addVmsTab(gw *gui.GuiWindow, name string, count int, a *pb.Account) *gui.Ta
|
|||
|
||||
mh := gui.AddTableTab(gw, name, count, parts)
|
||||
makeButton(mh.Box, a, nil, "Add Virtual Machine", "JUNK", createAddVmBox)
|
||||
|
||||
makeButton(mh.Box, a, nil, "Login", "JUNK", login)
|
||||
makeButton(mh.Box, a, nil, "Configure", "JUNK", showAccountClick)
|
||||
return mh
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue