Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[workspace] change iface name to eth0 #16368

Merged
merged 1 commit into from
Feb 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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