packer: fixing networking

This commit is contained in:
2023-04-14 16:34:58 -07:00
parent 10be9bac41
commit f0abff9f6a
10 changed files with 45 additions and 57 deletions

View File

@@ -6,6 +6,3 @@ export DEBIAN_FRONTEND=noninteractive
echo "[+] installing cdev node packages"
apt-get --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y install dnsmasq picocom wpasupplicant
echo "[+] installing tailscale"
curl -fsSL https://tailscale.com/install.sh | sh

View File

@@ -2,17 +2,5 @@
set -euxo pipefail
source /etc/os-release
case "${ID}" in
ubuntu)
SYSTEM_USER=ubuntu
SYSTEM_HOME=/home/${SYSTEM_USER}
;;
*)
SYSTEM_USER=root
SYSTEM_HOME=/root
;;
esac
apt-get -y install openssh-server