From cd1771b599ce4c124b5e6e7bf3b6218e858e6b88 Mon Sep 17 00:00:00 2001 From: dappnodedev Date: Fri, 24 May 2024 17:22:14 +0200 Subject: [PATCH] Fix pkg installation --- iso/preseeds/ubuntu/autoinstall_unattended.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iso/preseeds/ubuntu/autoinstall_unattended.yaml b/iso/preseeds/ubuntu/autoinstall_unattended.yaml index 2c83f7d..151cb39 100644 --- a/iso/preseeds/ubuntu/autoinstall_unattended.yaml +++ b/iso/preseeds/ubuntu/autoinstall_unattended.yaml @@ -60,13 +60,14 @@ autoinstall: # - firmware-misc-nonfree # TODO: Remove? # - firmware-iwlwifi # TODO: Remove? # - avahi-utils # TODO: Fix -# - iptables # TODO: Try + - iptables # TODO: Try timezone: UTC late-commands: + - "apt update && apt install -y chrony build-essential iw iwd avahi-utils || true" - "mkdir -p /target/usr/src/dappnode" - "cp -ar /cdrom/dappnode/* /target/usr/src/dappnode/" - "cp -a /cdrom/dappnode/scripts/rc.local /target/etc/rc.local" - "chmod +x /target/usr/src/dappnode/scripts/dappnode_install_pre.sh" - "echo 'touch /target/usr/src/dappnode/.firstboot'" - - "/target/usr/src/dappnode/scripts/dappnode_install_pre.sh UPDATE || true" + - "/target/usr/src/dappnode/scripts/dappnode_install_pre.sh UPDATE > /target/usr/src/dappnode/scripts/dappnode_install_pre.log || true"