2023-04-12 04:21:40 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -euxo pipefail
|
|
|
|
|
|
|
|
echo "==> Setting nameserver"
|
2023-04-12 05:15:34 +00:00
|
|
|
rm /etc/resolv.conf
|
2023-04-12 04:21:40 +00:00
|
|
|
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
|
|
|
|
|
|
|
|
echo "==> installing base updates"
|
|
|
|
apt-get -y update
|
2023-04-13 16:51:01 +00:00
|
|
|
apt-get -y install ansible apt-transport-https ca-certificates wpasupplicant
|
2023-04-12 04:21:40 +00:00
|
|
|
apt-get -y clean
|