Skip to content

Commit

Permalink
M #-: Update default netowork renderer
Browse files Browse the repository at this point in the history
Based on the used distro defaults.

Debian 10,11: interfaces
Debian 12:    netplan
(keep interaces as we don't have per version defaults)

Ubuntu 2004+: netplan
Alma, Rocky etc: nm
  • Loading branch information
xorel committed Nov 20, 2023
1 parent 68ec56f commit 9e14b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions context-linux/src/etc/one-context.d/loc-10-network
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ if [ -z "${NETCFG_TYPE}" ] ; then
debian|devuan)
NETCFG_TYPE='interfaces netplan nm networkd'
ubuntu)
NETCFG_TYPE='networkd netplan interfaces nm'
NETCFG_TYPE='netplan networkd interfaces nm'
;;
fedora|centos|rhel|almalinux|ol|rocky)
NETCFG_TYPE='scripts nm networkd'
NETCFG_TYPE='nm networkd scripts'
;;
opensuse*|sles|sled)
NETCFG_TYPE='scripts'
Expand Down

0 comments on commit 9e14b9a

Please sign in to comment.