]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
buildpackages: add debian 8.0 support
authorLoic Dachary <ldachary@redhat.com>
Wed, 30 Mar 2016 16:48:44 +0000 (18:48 +0200)
committerLoic Dachary <ldachary@redhat.com>
Thu, 31 Mar 2016 12:49:25 +0000 (14:49 +0200)
Signed-off-by: Loic Dachary <loic@dachary.org>
tasks/buildpackages/debian-8.0-user-data.txt [new file with mode: 0644]

diff --git a/tasks/buildpackages/debian-8.0-user-data.txt b/tasks/buildpackages/debian-8.0-user-data.txt
new file mode 100644 (file)
index 0000000..13aba98
--- /dev/null
@@ -0,0 +1,12 @@
+#cloud-config
+bootcmd:
+ - echo 'APT::Get::AllowUnauthenticated "true";' | tee /etc/apt/apt.conf.d/99disablesigs
+ - echo nameserver 8.8.8.8 | 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
+runcmd:
+ - echo 'ubuntu ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
+final_message: "READYTORUN"