From feeb6211afd67e0fccb9db0ab01e0ff3a0da7051 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson Date: Thu, 21 Dec 2023 22:11:44 -0700 Subject: [PATCH] Remove device: eth0 from dummy interface With eth0 specified as the default interface device, all interfaces by default were attempted to be renamed to eth0. This didn't break before because device renaming wasn't working for multiple interfaces in general; but now that it's fixed, we should no longer be setting a default interface name. Signed-off-by: Jonathon Anderson --- docs/man/man5/defaults.conf.5 | 1 - internal/pkg/node/constructors.go | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/man/man5/defaults.conf.5 b/docs/man/man5/defaults.conf.5 index 3488dc5d..3abe7257 100644 --- a/docs/man/man5/defaults.conf.5 +++ b/docs/man/man5/defaults.conf.5 @@ -30,7 +30,6 @@ defaultnode: - default network devices: dummy: - device: eth0 type: ethernet netmask: 255.255.255.0 .EE diff --git a/internal/pkg/node/constructors.go b/internal/pkg/node/constructors.go index 08c27b19..fe7eb87a 100644 --- a/internal/pkg/node/constructors.go +++ b/internal/pkg/node/constructors.go @@ -35,7 +35,6 @@ defaultnode: - default network devices: dummy: - device: eth0 type: ethernet netmask: 255.255.255.0 onboot: true`