diff --git a/builder/osc/bsusurrogate/builder.go b/builder/osc/bsusurrogate/builder.go index 5df1a63b9..61b7de20c 100644 --- a/builder/osc/bsusurrogate/builder.go +++ b/builder/osc/bsusurrogate/builder.go @@ -19,7 +19,7 @@ import ( "github.com/outscale/osc-go/oapi" ) -const BuilderId = "digitalonus.osc.bsusurrogate" +const BuilderId = "oapi.outscale.bsusurrogate" type Config struct { common.PackerConfig `mapstructure:",squash"` @@ -251,7 +251,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe if omis, ok := state.GetOk("omis"); ok { // Build the artifact and return it artifact := &osccommon.Artifact{ - Amis: omis.(map[string]string), + Omis: omis.(map[string]string), BuilderIdValue: BuilderId, Config: clientConfig, }