Skip to content

Commit

Permalink
--keep-mgmt-net for igniteruntime
Browse files Browse the repository at this point in the history
  • Loading branch information
steiler committed Jul 8, 2021
1 parent 1c62f86 commit ccfbcf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clab/clab.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func WithRuntime(name string, d bool, dur time.Duration, gracefulShutdown bool)

func WithKeepMgmtNet() ClabOption {
return func(c *CLab) {
c.Runtime.WithKeepMgmtNet()
c.GlobalRuntime().WithKeepMgmtNet()
}
}

Expand Down
3 changes: 3 additions & 0 deletions runtime/ignite/iginite.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ func (c *IgniteRuntime) WithConfig(cfg *runtime.RuntimeConfig) {
}

}
func (c *IgniteRuntime) WithKeepMgmtNet() {
c.ctrRuntime.WithKeepMgmtNet()
}

func (c *IgniteRuntime) WithMgmtNet(n *types.MgmtNet) {
c.Mgmt = n
Expand Down

0 comments on commit ccfbcf0

Please sign in to comment.