WIP
This commit is contained in:
parent
bf7c4a7ad6
commit
8598e2d0a3
|
@ -37,7 +37,7 @@ func (s *stepAttachVolume) Run(_ context.Context, state multistep.StateBag) mult
|
|||
|
||||
state.Put(s.instanceInfoKey+"/attachment", sa)
|
||||
|
||||
ui.Message("Volume to master attached to builder instance")
|
||||
ui.Message("Volume attached to instance.")
|
||||
return multistep.ActionContinue
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ func (s *stepCreatePVBuilder) Run(_ context.Context, state multistep.StateBag) m
|
|||
ImageList: config.SourceImageList,
|
||||
Attributes: config.attribs,
|
||||
SSHKeys: []string{config.Comm.SSHKeyPairName},
|
||||
//Entry: 5,
|
||||
Entry: 5,
|
||||
}
|
||||
|
||||
instanceInfo, err := instanceClient.CreateInstance(input)
|
||||
|
|
|
@ -169,6 +169,8 @@ func (i *InstanceInfo) getInstanceName() string {
|
|||
}
|
||||
|
||||
type CreateInstanceInput struct {
|
||||
// Optional ImageListEntry number. Default will be used if not specified
|
||||
Entry int `json:"entry,omitempty"`
|
||||
// A dictionary of user-defined attributes to be made available to the instance.
|
||||
// Optional
|
||||
Attributes map[string]interface{} `json:"attributes"`
|
||||
|
|
Loading…
Reference in New Issue