Skip to content

Commit 852d187

Browse files
committed
parse-ip: it does not make any sense to configure 'loopback'
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
1 parent 7a0bf56 commit 852d187

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dracut/50flatcar-network/parse-ip-for-networkd.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ for p in $(getargs ip=); do
121121
mkdir -p /etc/systemd/network
122122
echo '[Match]' > $_net_file
123123
_dev=${dev:-"*"}; echo "Name=$_dev" >> $_net_file
124+
echo "Type=!loopback" >> $_net_file
124125
echo '[Link]' >> $_net_file
125126
[ -n "$macaddr" ] && echo "MACAddress=$macaddr" >> $_net_file
126127
[ -n "$mtu" ] && echo "MTUBytes=$mtu" >> $_net_file

0 commit comments

Comments
 (0)