Skip to content

Commit

Permalink
Merge pull request #4 from weaveworks-liquidmetal/fix_net_int
Browse files Browse the repository at this point in the history
fix: network interface & metadata flags not used
  • Loading branch information
richardcase authored Jul 8, 2022
2 parents db91c39 + 1b9a7b6 commit c22d4d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/cmd/microvm/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ func newCreateCommand() *cli.Command {
},
Action: func(ctx *cli.Context) error {
a := app.New(zap.S().With("action", "create"))

createInput.NetworkInterfaces = networkInterfaces.Value()
createInput.MetadataFromFile = metadataFromFile.Value()

if err := a.Create(ctx.Context, createInput); err != nil {
return fmt.Errorf("creating microvm: %s", err)
}
Expand Down

0 comments on commit c22d4d3

Please sign in to comment.