Skip to content

Commit

Permalink
[workspace] change container iface name ceth0 to eth0
Browse files Browse the repository at this point in the history
  • Loading branch information
iQQBot authored and roboquat committed Feb 20, 2023
1 parent 852f5cd commit 40830a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/docker-up/docker-up/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var aptUpdated = false
const (
dockerSocketFN = "/var/run/docker.sock"
gitpodUserId = 33333
containerIf = "ceth0"
containerIf = "eth0"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions components/ws-daemon/nsinsider/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func main() {
},
},
Action: func(c *cli.Context) error {
containerIf, vethIf, cethIf := "eth0", "veth0", "ceth0"
containerIf, vethIf, cethIf := "eth0", "veth0", "eth0"
mask := net.IPv4Mask(255, 255, 255, 0)
vethIp := net.IPNet{
IP: net.IPv4(10, 0, 5, 1),
Expand Down Expand Up @@ -430,7 +430,7 @@ func main() {
Name: "setup-peer-veth",
Usage: "set up a peer veth",
Action: func(c *cli.Context) error {
cethIf := "ceth0"
cethIf := "eth0"
mask := net.IPv4Mask(255, 255, 255, 0)
cethIp := net.IPNet{
IP: net.IPv4(10, 0, 5, 2),
Expand Down

0 comments on commit 40830a8

Please sign in to comment.