Skip to content

Instantly share code, notes, and snippets.

@crosbymichael
Created February 9, 2014 23:10
Show Gist options
  • Select an option

  • Save crosbymichael/8907539 to your computer and use it in GitHub Desktop.

Select an option

Save crosbymichael/8907539 to your computer and use it in GitHub Desktop.
package main
import (
"github.com/dotcloud/docker/pkg/netlink"
)
func main() {
if err := netlink.NetworkChangeName("veth0", "vethdone"); err != nil {
panic(err)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment