]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
openstack: add 8.8.8.8 as a last resort resolver 695/head
authorLoic Dachary <ldachary@redhat.com>
Tue, 3 Nov 2015 19:37:38 +0000 (20:37 +0100)
committerLoic Dachary <ldachary@redhat.com>
Mon, 16 Nov 2015 10:43:22 +0000 (11:43 +0100)
Signed-off-by: Loic Dachary <ldachary@redhat.com>
teuthology/openstack/openstack-user-data.txt

index a0d471e023a842eb251202250a9aa9c48bb126a3..1317c648980c911754d62a397cc55f98ea1cee65 100644 (file)
@@ -1,6 +1,7 @@
 #cloud-config
 bootcmd:
   - touch /tmp/init.out
+  - echo nameserver 8.8.8.8 | sudo tee -a /etc/resolv.conf # last resort, in case the DHCP server does not provide a resolver
 system_info:
   default_user:
     name: TEUTHOLOGY_USERNAME