Skip to content

Commit

Permalink
not needed on systems that don't have netplan
Browse files Browse the repository at this point in the history
  • Loading branch information
crschardt committed Jan 12, 2025
1 parent e41f05e commit d5d024f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,12 @@ if [[ "$INSTALL_NETWORK_MANAGER" == "yes" ]]; then

debug "Configuring..."
systemctl disable systemd-networkd-wait-online.service
cat > /etc/netplan/00-default-nm-renderer.yaml <<EOF
if [[ -d /etc/netplan/ ]]; then
cat > /etc/netplan/00-default-nm-renderer.yaml <<EOF
network:
renderer: NetworkManager
EOF
fi
debug "network-manager installation complete."
fi

Expand Down

0 comments on commit d5d024f

Please sign in to comment.