Skip to content

Commit 1b9a7b6

Browse files
committed
fix: network interface & metadata flags not used
Signed-off-by: Richard Case <richard.case@outlook.com>
1 parent db91c39 commit 1b9a7b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/cmd/microvm/create.go

Lines changed: 4 additions & 0 deletions
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)