Skip to content

Commit 40830a8

Browse files
iQQBotroboquat
authored andcommitted
[workspace] change container iface name ceth0 to eth0
1 parent 852f5cd commit 40830a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/docker-up/docker-up/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var aptUpdated = false
5959
const (
6060
dockerSocketFN = "/var/run/docker.sock"
6161
gitpodUserId = 33333
62-
containerIf = "ceth0"
62+
containerIf = "eth0"
6363
)
6464

6565
func main() {

components/ws-daemon/nsinsider/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func main() {
270270
},
271271
},
272272
Action: func(c *cli.Context) error {
273-
containerIf, vethIf, cethIf := "eth0", "veth0", "ceth0"
273+
containerIf, vethIf, cethIf := "eth0", "veth0", "eth0"
274274
mask := net.IPv4Mask(255, 255, 255, 0)
275275
vethIp := net.IPNet{
276276
IP: net.IPv4(10, 0, 5, 1),
@@ -430,7 +430,7 @@ func main() {
430430
Name: "setup-peer-veth",
431431
Usage: "set up a peer veth",
432432
Action: func(c *cli.Context) error {
433-
cethIf := "ceth0"
433+
cethIf := "eth0"
434434
mask := net.IPv4Mask(255, 255, 255, 0)
435435
cethIp := net.IPNet{
436436
IP: net.IPv4(10, 0, 5, 2),

0 commit comments

Comments
 (0)