Skip to content

Commit

Permalink
Updated unattended autoinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev committed May 27, 2024
1 parent a32852f commit 0260762
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions iso/preseeds/ubuntu/autoinstall_unattended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,22 @@ autoinstall:
# By default, the password is allowed if no authorized keys are provided

packages:
# - chrony
- openssh-server
- vim
- sudo
# - build-essential # TODO: FIX
- openssh-server # TODO: Remove?
- vim # TODO: Remove?
- sudo # TODO: Remove?
- linux-generic
# - iw # TODO: FIX
# - iwd
- wpasupplicant
- intel-microcode
- iucode-tool
# - firmware-misc-nonfree # TODO: Remove?
# - firmware-iwlwifi # TODO: Remove?
# - avahi-utils # TODO: Fix
- iptables # TODO: Try
- iptables
timezone: UTC

late-commands:
- "apt update && apt install -y chrony build-essential iw iwd avahi-utils || true"
- "curtin in-target --target=/target -- apt update && apt install -y chrony build-essential iw iwd avahi-utils"
- "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 > /target/usr/src/dappnode/scripts/dappnode_install_pre.log || true"
- "touch /target/usr/src/dappnode/.firstboot"
- "curtin in-target --target=/target -- /usr/src/dappnode/scripts/dappnode_install_pre.sh UPDATE"
# TODO: Handle /etc/network/interfaces and /etc/network/devhotplug

0 comments on commit 0260762

Please sign in to comment.