Restore server network auto-detection

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-05 17:14:40 -07:00
parent abc3a0ee2d
commit 73f34d0099
13 changed files with 113 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ func Test_localtimeOverlay(t *testing.T) {
env := testenv.New(t)
defer env.RemoveAll()
env.ImportFile("etc/warewulf/nodes.conf", "nodes.conf")
assert.NoError(t, config.Get().Read(env.GetPath("etc/warewulf/warewulf.conf")))
assert.NoError(t, config.Get().Read(env.GetPath("etc/warewulf/warewulf.conf"), false))
env.ImportFile("var/lib/warewulf/overlays/localtime/rootfs/etc/localtime.ww", "../rootfs/etc/localtime.ww")
tests := []struct {