From f8e4ad5ec1da2cf95ab4ee231c166d8cc9985ea4 Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Mon, 12 Sep 2022 15:56:00 -0500 Subject: [PATCH] remove incomplete armbian netplan file --- install | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/install b/install index ecdcfec..27b25c5 100755 --- a/install +++ b/install @@ -13,7 +13,7 @@ # https://github.com/armbian/config/blob/master/debian-software # https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/ # -# version: 1.6.21 +# version: 1.6.22 # if [[ $(id -u) -ne 0 ]]; then @@ -520,6 +520,13 @@ if [ ${skipNet} -ne 1 ]; then rm -fv "${defLink}" fi + # remove armbian netplan file if found + anp="/etc/netplan/armbian-default.yaml" + if [ -e "${anp}" ]; then + echo "Removing Armbian netplan file..." + rm -fv "${anp}" + fi + echo "Removing network-manager and dhcpcd5 ..." apt-get -y --autoremove purge network-manager dhcpcd5