From 9a85a5c6722e4000bb73f518777fb71627bd6864 Mon Sep 17 00:00:00 2001 From: dappnodedev Date: Fri, 31 May 2024 13:58:44 +0200 Subject: [PATCH] Add netplan copy to autoinstall --- iso/preseeds/ubuntu/autoinstall.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso/preseeds/ubuntu/autoinstall.yaml b/iso/preseeds/ubuntu/autoinstall.yaml index b91f460..43f5f7e 100644 --- a/iso/preseeds/ubuntu/autoinstall.yaml +++ b/iso/preseeds/ubuntu/autoinstall.yaml @@ -26,7 +26,7 @@ autoinstall: - "cp -a /cdrom/dappnode/scripts/rc.local /target/etc/rc.local" - "chmod +x /target/usr/src/dappnode/scripts/dappnode_install_pre.sh" - "touch /target/usr/src/dappnode/.firstboot" -# - "cp -ar /etc/netplan/* /target/etc/netplan/" # TODO: Is this necessary? + - "cp -ar /etc/netplan/* /target/etc/netplan/" # Necessary for prerequisites # - "chmod +x /target/usr/src/dappnode/scripts/static_ip.sh" # TODO: Remove if not necessary to validate IP # - "sh -c 'gpasswd -a $(getent passwd 1000 | cut -d: -f1) sudo' " # TODO: Check if dappnode user needs to be manually added to sudoers # - "/target/usr/src/dappnode/scripts/static_ip.sh"