mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Automatic merge from release/2.1.0 -> release/2.2.0
* commit 'f831c8daea5797745a6f5b2f8c60510b690932ff': climc: server deploy and save-image auto_start
This commit is contained in:
@@ -210,6 +210,7 @@ type ServerDeployOptions struct {
|
||||
Deploy []string `help:"Specify deploy files in virtual server file system" json:"-"`
|
||||
ResetPassword *bool `help:"Force reset password"`
|
||||
Password string `help:"Default user password"`
|
||||
AutoStart *bool `help:"Auto start server after deployed"`
|
||||
}
|
||||
|
||||
func (opts *ServerDeployOptions) Params() (*jsonutils.JSONDict, error) {
|
||||
@@ -252,11 +253,12 @@ type ServerMonitorOptions struct {
|
||||
}
|
||||
|
||||
type ServerSaveImageOptions struct {
|
||||
ID string `help:"ID or name of server" json:"-"`
|
||||
IMAGE string `help:"Image name" json:"name"`
|
||||
Public *bool `help:"Make the image public available" json:"is_public"`
|
||||
Format string `help:"image format" choices:"vmdk|qcow2"`
|
||||
Notes string `help:"Notes about the image"`
|
||||
ID string `help:"ID or name of server" json:"-"`
|
||||
IMAGE string `help:"Image name" json:"name"`
|
||||
Public *bool `help:"Make the image public available" json:"is_public"`
|
||||
Format string `help:"image format" choices:"vmdk|qcow2"`
|
||||
Notes string `help:"Notes about the image"`
|
||||
AutoStart *bool `help:"Auto start server after image saved"`
|
||||
}
|
||||
|
||||
type ServerRebuildRootOptions struct {
|
||||
|
||||
Reference in New Issue
Block a user