lib/templates/debian/scripts/debian_cloud_script.sh in comfy-0.2.8 vs lib/templates/debian/scripts/debian_cloud_script.sh in comfy-0.2.9
- old
+ new
@@ -3,9 +3,11 @@
#############INITIALIZATION SCRIPT FOR DEBIAN##############
######################CESNET CLOUD#########################
###########################################################
# make sure lsb_release is installed
+rm /etc/resolv.conf && sh -c 'echo "nameserver 8.8.4.4" > /etc/resolv.conf' && cat /etc/resolv.conf && chattr -V +i /etc/resolv.conf
+
apt-get update
apt-get --assume-yes upgrade
apt-get --assume-yes install lsb-release
#DEB8 doesn't need cerit and jessie repo