diff options
author | arnaudmorin <arnaud.morin@gmail.com> | 2015-05-29 15:56:50 +0200 |
---|---|---|
committer | arnaudmorin <arnaud.morin@gmail.com> | 2015-06-26 14:10:20 +0200 |
commit | bff17c3ed2f7ba8a665a1ff2a0ba89ace4d3a5c9 (patch) | |
tree | 78d34c7cb7dc369fa1b2d0144f3c32cf7a081946 /opensteak/tools/templates_foreman/meta-data | |
parent | 5cc4c1455698767349e88022449c0c00d0e61239 (diff) |
Add create vm script and foreman config
Add a script to create a KVM machine and install foreman in it.
This is the beginning of the OpenSteak installation mecanism.
It is very similare as what is done in the Foreman/Quickstack approach
with small differences:
- Ubuntu as base OS (instead of CentOS)
- Foreman v1.8 (instead of 1.7.5
- KVM (libvirt) virtual machine (instead of Vagrant)
- Only python/bash scripts to manage all the stuff (instead of
Khaleesi/Ansible/Astaport playbooks)
Change-Id: Ie66b1da4288372927e30163f82f5a0f45e2e73d0
JIRA: BGS-9
Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
Diffstat (limited to 'opensteak/tools/templates_foreman/meta-data')
-rw-r--r-- | opensteak/tools/templates_foreman/meta-data | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/opensteak/tools/templates_foreman/meta-data b/opensteak/tools/templates_foreman/meta-data new file mode 100644 index 0000000..b4cb9b6 --- /dev/null +++ b/opensteak/tools/templates_foreman/meta-data @@ -0,0 +1,12 @@ +instance-id: ${name}; +network-interfaces: | + auto lo + iface lo inet loopback + auto eth0 + iface eth0 inet static + address ${ip} + netmask ${netmaskshort} + gateway ${gateway} + dns-nameservers ${dns} + dns-search ${domain} +local-hostname: ${name} |