This commit is contained in:
Matthew Hooker 2018-10-24 14:59:15 -07:00
parent 86f6cf478a
commit 3e966ae38d
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
3 changed files with 4 additions and 11 deletions

View File

@ -19,13 +19,9 @@ type PVConfig struct {
BuilderImageList string `mapstructure:"builder_image_list"`
BuilderImageListEntry int `mapstructure:"builder_image_list_entry"`
/* TODO:
some way to choose which connection to use for master
possible ignore everything for builder and always use SSH keys
* Documentation
* Configuration (master/builder images & entry, destination stuff, etc)
* Image entry for both master/builder
https://github.com/hashicorp/packer/issues/6833
* split master/builder image/connection config. i.e. build anything, master only linux
possible ignore everything for builder and always use SSH keys
*/
}
@ -114,9 +110,6 @@ curl -I -X HEAD \
"${STORAGE_URL}/compute_images/{{.ImageFile}}"
`
}
/*
errs = packer.MultiErrorAppend(errs,
fmt.Errorf("Persistent storage volumes are only supported on unix, and must use the ssh communicator."))
*/
return
}

View File

@ -33,7 +33,7 @@ func (s *stepCreatePVBuilder) Run(_ context.Context, state multistep.StateBag) m
Name: s.Name,
Shape: config.BuilderShape,
Networking: map[string]compute.NetworkingInfo{
"eth0": compute.NetworkingInfo{
"eth0": {
Nat: []string{ipAddName},
SecLists: []string{secListName},
},

View File

@ -32,7 +32,7 @@ func (s *stepCreatePVMaster) Run(_ context.Context, state multistep.StateBag) mu
Name: s.Name,
Shape: config.Shape,
Networking: map[string]compute.NetworkingInfo{
"eth0": compute.NetworkingInfo{
"eth0": {
Nat: []string{ipAddName},
SecLists: []string{secListName},
},