Sha256: 85515e90c26cf500aaebbd4485f276d0bd09b8441f0f6ee51ebfff6ff1c4d218
Contents?: true
Size: 871 Bytes
Versions: 14
Compression:
Stored size: 871 Bytes
Contents
#cloud-config output: all: ">> /var/log/cloud-init.log" # use the HPCS Ubuntu Mirror for security-updates too bootcmd: - echo 127.0.1.1 %HOSTNAME% >> /etc/hosts - echo # force security.ubuntu.com to mirror.clouds.archive.ubuntu.com >> /etc/hosts - echo 15.185.107.200 security.ubuntu.com >> /etc/hosts - echo <%=instances['webci-az1-web0001'][:private_ips][0]%> webci-az1-web0001 >> /etc/hosts <% instances.each do |node_name, node_details| %> - echo <%=node_details[:private_ips][0]%> <%=node_name%> >> /etc/hosts <% end %> # use the HPCS Ubuntu Mirrors apt_mirror: http://nova.clouds.archive.ubuntu.com/ubuntu # Run apt-get update package_update: true # Run apt-get update package_upgrade: true # Install some packages packages: - apache2 - php5 # Use `sudo -i` to simulate a login shell... runcmd: - sudo -i touch /var/log/cloud-init.complete
Version data entries
14 entries across 14 versions & 1 rubygems