Skip to content

Commit fbb5091

Browse files
authored
Merge pull request #188 from janog-netcon/add-keep-mgmt-net
Add keep-mgmt-net
2 parents e0d1545 + f0f1da1 commit fbb5091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/containerlab/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (c *ContainerLabClient) DeployWithOutput(ctx context.Context) ([]byte, []by
102102
func (c *ContainerLabClient) Destroy(ctx context.Context) error {
103103
cmd := exec.CommandContext(ctx,
104104
"clab",
105-
"--log-level", "debug", "-t", c.topologyFileName, "destroy",
105+
"--log-level", "debug", "-t", c.topologyFileName, "destroy", "--keep-mgmt-net",
106106
)
107107
cmd.Dir = c.workingDirectoryPath
108108
cmd.Stderr = nil

0 commit comments

Comments
 (0)