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

Version Path
stack-kicker-0.0.26 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.25 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.24 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.23 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.22 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.21 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.20 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.19 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.18 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.16 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.15 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.14 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.13 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb
stack-kicker-0.0.12 doc/examples/cloud-init-with-erb/cloud-init.yaml.erb