Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
remove wormhole interfaces on uninstall (#385) (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Nisbet authored Apr 26, 2019
1 parent a27f284 commit e802ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/gravity/cli/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ func removeInterfaces(env *localenv.LocalEnvironment) error {
}

for _, iface := range ifaces {
if utils.HasOneOfPrefixes(iface.Name, "docker", "flannel", "cni") {
if utils.HasOneOfPrefixes(iface.Name, "docker", "flannel", "cni", "wormhole") {
env.PrintStep("Removing network interface %q", iface.Name)
out := &bytes.Buffer{}
if err := utils.Exec(exec.Command("ip", "link", "del", iface.Name), out); err != nil {
Expand Down

0 comments on commit e802ae8

Please sign in to comment.