From 0b7dc16740d3120baba838c880f78ffeeb38f7a1 Mon Sep 17 00:00:00 2001 From: gryf Date: Thu, 20 Feb 2020 16:19:33 +0100 Subject: [PATCH] Added potentially needed configuration for ubuntu --- bootstrap_ubuntu.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstrap_ubuntu.sh b/bootstrap_ubuntu.sh index 4d7b02b..0a5c1d9 100755 --- a/bootstrap_ubuntu.sh +++ b/bootstrap_ubuntu.sh @@ -1,5 +1,11 @@ #!/bin/bash -x +# 0. network. paste it to the machine before running this script +# sudo echo "network: {config: disabled}" > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg +# sudo netplan apply +# sudo sh -c 'echo "nameserver 1.1.1.1" > /etc/resolv.conf' +# sudo sed -i -e "s/127.0.0.1 localhost/127.0.0.1 localhost ${HOSTNAME}/" /etc/hosts + # 1. update sudo apt update && sudo apt -y upgrade