diff --git a/test/data/stages/nm.conn/b.json b/test/data/stages/nm.conn/b.json index 6b952a24..347e7979 100644 --- a/test/data/stages/nm.conn/b.json +++ b/test/data/stages/nm.conn/b.json @@ -295,6 +295,31 @@ } } } + }, + { + "name": "org.osbuild.nm.conn", + "options": { + "path": "/etc/NetworkManager/system-connections/test.conf", + "settings": { + "connection": { + "type": "ethernet", + "id": "static-conn", + "uuid": "6fb8f75a-7fde-4906-a51e-a70e56c58742", + "interface-name": "eth1", + "autoconnect-priority": 0, + "autoconnect": true + }, + "ipv4": { + "method": "manual", + "address": [ + "10.24.0.5/24" + ] + }, + "ipv6": { + "method": "ignore" + } + } + } } ] }, diff --git a/test/data/stages/nm.conn/b.mpp.json b/test/data/stages/nm.conn/b.mpp.json index 6bd98de5..57dc8bee 100644 --- a/test/data/stages/nm.conn/b.mpp.json +++ b/test/data/stages/nm.conn/b.mpp.json @@ -31,6 +31,31 @@ } } } + }, + { + "name": "org.osbuild.nm.conn", + "options": { + "path": "/etc/NetworkManager/system-connections/test.conf", + "settings": { + "connection": { + "type": "ethernet", + "id": "static-conn", + "uuid": "6fb8f75a-7fde-4906-a51e-a70e56c58742", + "interface-name": "eth1", + "autoconnect-priority": 0, + "autoconnect": true + }, + "ipv4": { + "method": "manual", + "address": [ + "10.24.0.5/24" + ] + }, + "ipv6": { + "method": "ignore" + } + } + } } ] } diff --git a/test/data/stages/nm.conn/diff.json b/test/data/stages/nm.conn/diff.json index 5004cc9e..5d82aab4 100644 --- a/test/data/stages/nm.conn/diff.json +++ b/test/data/stages/nm.conn/diff.json @@ -1,5 +1,9 @@ { "added_files": [ + "/etc", + "/etc/NetworkManager", + "/etc/NetworkManager/system-connections", + "/etc/NetworkManager/system-connections/test.conf", "/usr", "/usr/lib", "/usr/lib/NetworkManager",