Add a flavour for doing generic this-node-is-in-a-cloud stuff, like cloud-init tweaks.
This commit is contained in:
parent
ffab3354ca
commit
7ce2c06edd
@ -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
|
||||
|
8
flavours/base/install.d/10-cloud-init
Executable file
8
flavours/base/install.d/10-cloud-init
Executable 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
|
Loading…
Reference in New Issue
Block a user