summaryrefslogtreecommitdiffstats
path: root/opensteak/tools/templates_foreman/meta-data
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2015-06-26 12:26:09 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-06-26 12:26:09 +0000
commit387c117c80740a055ff9470516b89c24c09ce6a5 (patch)
treebcb177a7620faedb1e5c2ea6a61c0cceae598cdf /opensteak/tools/templates_foreman/meta-data
parent5e05469acdb8da55f8862677c7cd68d257c68501 (diff)
parentbff17c3ed2f7ba8a665a1ff2a0ba89ace4d3a5c9 (diff)
Merge "Add create vm script and foreman config"
Diffstat (limited to 'opensteak/tools/templates_foreman/meta-data')
-rw-r--r--opensteak/tools/templates_foreman/meta-data12
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}