Skip to content

Commit

Permalink
Update autoinstall attended
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev committed May 28, 2024
1 parent e22c0b2 commit 55b72a7
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions iso/preseeds/ubuntu/autoinstall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,21 @@ autoinstall:
install-server: true

packages:
# - chrony
- openssh-server
- vim
- sudo
# - iw # TODO: FIX
# - iwd
- linux-generic
- wpasupplicant
- intel-microcode
# - build-essential # TODO: FIX
- linux-generic
# - firmware-iwlwifi
# - avahi-utils # TODO: Fix
# - iptables # TODO: Try
apt:
fallback: continue-anyway
- iucode-tool
- iptables

late-commands:
- "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"
- "chmod +x /target/usr/src/dappnode/scripts/static_ip.sh"
- "sh -c 'gpasswd -a $(getent passwd 1000 | cut -d: -f1) sudo' "
- "touch /target/usr/src/dappnode/.firstboot"
# - "cp -ar /etc/netplan/* /target/etc/netplan/" # TODO: Is this necessary?
# - "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"
- "/target/usr/src/dappnode/scripts/dappnode_install_pre.sh UPDATE"

0 comments on commit 55b72a7

Please sign in to comment.