From 76fc99a681fb7c2b307fa0a793f927352df38e84 Mon Sep 17 00:00:00 2001 From: Pudong Zheng Date: Mon, 13 Feb 2023 15:53:38 +0000 Subject: [PATCH] [workspace] change container iface name ceth0 to eth0 --- components/docker-up/docker-up/main.go | 2 +- components/ws-daemon/nsinsider/main.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/docker-up/docker-up/main.go b/components/docker-up/docker-up/main.go index d3f2d8c1283502..051a5faf1c380e 100644 --- a/components/docker-up/docker-up/main.go +++ b/components/docker-up/docker-up/main.go @@ -59,7 +59,7 @@ var aptUpdated = false const ( dockerSocketFN = "/var/run/docker.sock" gitpodUserId = 33333 - containerIf = "ceth0" + containerIf = "eth0" ) func main() { diff --git a/components/ws-daemon/nsinsider/main.go b/components/ws-daemon/nsinsider/main.go index 30d0b61c05224d..590bde12ece5c1 100644 --- a/components/ws-daemon/nsinsider/main.go +++ b/components/ws-daemon/nsinsider/main.go @@ -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), @@ -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),