Skip to content

Commit c22d4d3

Browse files
authored
Merge pull request #4 from weaveworks-liquidmetal/fix_net_int
fix: network interface & metadata flags not used
2 parents db91c39 + 1b9a7b6 commit c22d4d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/cmd/microvm/create.go

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ func newCreateCommand() *cli.Command {
4040
},
4141
Action: func(ctx *cli.Context) error {
4242
a := app.New(zap.S().With("action", "create"))
43+
44+
createInput.NetworkInterfaces = networkInterfaces.Value()
45+
createInput.MetadataFromFile = metadataFromFile.Value()
46+
4347
if err := a.Create(ctx.Context, createInput); err != nil {
4448
return fmt.Errorf("creating microvm: %s", err)
4549
}

0 commit comments

Comments
 (0)