From 1f90cefeaaf626df89112155e46263147ea9dfa1 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Oct 2022 08:01:20 +0200 Subject: [PATCH] changed networkmanager behavior --- motd | 7 ------- netplan/01-netcfg.yaml | 30 +++++++++++++++--------------- 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/motd b/motd index 0c87dd33..e69de29b 100644 --- a/motd +++ b/motd @@ -1,7 +0,0 @@ - -The programs included with the Debian GNU/Linux system are free software; -the exact distribution terms for each program are described in the -individual files in /usr/share/doc/*/copyright. - -Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent -permitted by applicable law. diff --git a/netplan/01-netcfg.yaml b/netplan/01-netcfg.yaml index 323d68f0..6a28ee24 100644 --- a/netplan/01-netcfg.yaml +++ b/netplan/01-netcfg.yaml @@ -4,18 +4,18 @@ # For more information, see netplan(5). network: version: 2 - renderer: networkd - ethernets: - enp0s25: - dhcp4: false - dhcp6: false - addresses: - - 192.168.0.99/24 - nameservers: - search: [realm.local] - addresses: - - 192.168.0.28 - - 192.168.0.1 - routes: - - to: 0.0.0.0/0 - via: 192.168.0.1 + renderer: NetworkManager +# ethernets: +# enp0s25: +# dhcp4: false +# dhcp6: false +# addresses: +# - 192.168.0.99/24 +# nameservers: +# search: [realm.local] +# addresses: +# - 192.168.0.28 +# - 192.168.0.1 +# routes: +# - to: 0.0.0.0/0 +# via: 192.168.0.1