Add a flavour for doing generic this-node-is-in-a-cloud stuff, like cloud-init tweaks.

This commit is contained in:
Robert Collins 2012-11-13 15:34:29 +13:00
parent ffab3354ca
commit 7ce2c06edd
2 changed files with 10 additions and 2 deletions

View File

@ -30,12 +30,12 @@ Jenkins
* baremetal SPOF node build (archive the resulting image).
disk-image-create mysql haproxy-mysql haproxy-api local-boot \
disk-image-create base mysql haproxy-mysql haproxy-api local-boot \
rabbitmq -o baremetal-spof
* baremetal demo node build (archive the resulting image).
disk-image-create vm glance nova-bm swift cinder quantum \
disk-image-create base vm glance nova-bm swift cinder quantum \
-o bootstrap-prod
* ramdisk deploy image buil

View File

@ -0,0 +1,8 @@
#!/bin/bash
# Tweak the stock ubuntu cloud-init config
set -e
sudo dd of=/etc/cloud/cloud.cfg.d/10_etc_hosts.cfg << EOF
manage_etc_hosts: True
EOF