fix machine image name to include prepended /
This commit is contained in:
parent
3180dc327c
commit
8f7937f492
|
@ -49,9 +49,10 @@ func (s *stepListImages) Run(_ context.Context, state multistep.StateBag) multis
|
|||
version := len(imList.Entries) + 1
|
||||
entriesClient := client.ImageListEntries()
|
||||
entriesInput := compute.CreateImageListEntryInput{
|
||||
Name: config.DestImageList,
|
||||
MachineImages: []string{fmt.Sprintf("Compute-%s/%s/%s", config.IdentityDomain, config.Username, snap.MachineImage)},
|
||||
Version: version,
|
||||
Name: config.DestImageList,
|
||||
MachineImages: []string{fmt.Sprintf("/Compute-%s/%s/%s",
|
||||
config.IdentityDomain, config.Username, snap.MachineImage)},
|
||||
Version: version,
|
||||
}
|
||||
entryInfo, err := entriesClient.CreateImageListEntry(&entriesInput)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue