]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
buildpackages: no need to sudo in bootcmd
authorLoic Dachary <ldachary@redhat.com>
Sat, 12 Dec 2015 13:27:55 +0000 (14:27 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sat, 12 Dec 2015 13:27:55 +0000 (14:27 +0100)
Signed-off-by: Loic Dachary <loic@dachary.org>
tasks/buildpackages/user-data.txt

index f30995d5c983bbee3e2e207b37df2a1107145007..d5016929dac09d625aed4eeb6786d93e1c71245f 100644 (file)
@@ -1,7 +1,7 @@
 #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
+ - 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: