bareon/cloud-init-templates/meta-data_centos.jinja2
Alexander Gordeev 82c976b46d A couple of hot fixes for fuel-agent
1) Fix cloud-init meta-data templates

Just meta-data comments layout.

2) Fix repos handling in nailgun drivers

Remove quotes from urls since apt refuses to work with them.

3) Fix ntp.conf issue

Wrong semaphore ids in boothook were wrong
Closes-Bug: #1388042

Implements: blueprint image-based-provisioning
Change-Id: Iad6755753cc1fa938b370016cd2f4026e76b90a3
2014-10-31 18:37:19 +03:00

12 lines
383 B
Django/Jinja

# instance-id will be autogenerated
# instance-id: iid-abcdefg
network-interfaces: |
auto {{ common.admin_iface_name|default("eth0") }}
iface {{ common.admin_iface_name|default("eth0") }} inet static
address {{ common.admin_ip }}
# network 192.168.1.0
netmask {{ common.admin_mask }}
# broadcast 192.168.1.255
# gateway 192.168.1.254
hostname: {{ common.hostname }}