From 3e843374113f657c7cc8d0bba694d6ecd23c9c24 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Thu, 10 Dec 2015 11:55:56 -0800 Subject: [PATCH] buildpackages: copy teuthology user-data.txt changes 7b27e1db7: openstack: support /etc/network/intefaces injection 2358562cf: ensure VMs always have /etc/hosts set up 4378a505d: always allow unsigned deb packages 50b2db521: openstack: encode instance name with the full IP 6e828a33b: openstack: add 8.8.8.8 as a last resort resolver Signed-off-by: Robin H. Johnson (cherry picked from commit 89bde0b8fe9361131bf86ae4f07ae2e4587a00b2) --- tasks/buildpackages/user-data.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/buildpackages/user-data.txt b/tasks/buildpackages/user-data.txt index 03fc7c9713829..f30995d5c983b 100644 --- a/tasks/buildpackages/user-data.txt +++ b/tasks/buildpackages/user-data.txt @@ -1,4 +1,9 @@ #cloud-config +bootcmd: + - echo 'APT::Get::AllowUnauthenticated "true";' | tee /etc/apt/apt.conf.d/99disablesigs + - echo nameserver 8.8.8.8 | sudo tee -a /etc/resolv.conf # last resort, in case the DHCP server does not provide a resolver +manage_etc_hosts: true +preserve_hostname: true system_info: default_user: name: ubuntu -- 2.39.5