From 8f74136a5c6ba8d72c4400c803dea3013cf9be9a Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Mon, 22 Jan 2018 18:00:27 +0100 Subject: [PATCH] Cleanup any Netplan configuration Issue #87 --- postinstall | 1 + 1 file changed, 1 insertion(+) diff --git a/postinstall b/postinstall index d31285e..e6b5800 100755 --- a/postinstall +++ b/postinstall @@ -74,6 +74,7 @@ if [ -d /etc/network ]; then # Prepare network files cp /etc/network/interfaces /etc/network/interfaces.$(date "+%s") rm -rf /etc/network/interfaces.d + rm -rf /etc/netplan/* if [ "${NETWORK_EC2}" = 'yes' ]; then cat > /etc/network/interfaces <