summaryrefslogtreecommitdiffstats
path: root/utils/dev_env/deploy/meta-data.template
diff options
context:
space:
mode:
authorwangyaoguang <sunshine.wang@huawei.com>2016-04-19 08:49:09 +0800
committerwangyaoguang <sunshine.wang@huawei.com>2016-04-19 09:02:07 +0800
commit177def06a663796302a9b50abe931ca56b64d413 (patch)
treeb41256b5d203237737917a189d24716865891760 /utils/dev_env/deploy/meta-data.template
parente2b73bf29779412d3b0ceb7742e6a4bdcecb7f74 (diff)
Add a common tool for creating libvirt vms w/o puppet
1.It requires two argumets, input config and output folder. 2.It can bring libvirt vms with puppet and trusted ssh keys. 3.It can also bring normal libvirt vms. JIRA: BOTTLENECK-57 Change-Id: I47fd61c328b45d03b4d0daf25fd9e4fe79303f88 Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
Diffstat (limited to 'utils/dev_env/deploy/meta-data.template')
-rw-r--r--utils/dev_env/deploy/meta-data.template11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/dev_env/deploy/meta-data.template b/utils/dev_env/deploy/meta-data.template
new file mode 100644
index 00000000..43db6597
--- /dev/null
+++ b/utils/dev_env/deploy/meta-data.template
@@ -0,0 +1,11 @@
+instance-id: iid-abcdeff
+network-interfaces: |
+ # The primary network interface
+ auto eth0
+ iface eth0 inet static
+ address REPLACE_IPADDR
+ netmask 255.255.255.0
+ gateway REPLACE_GATEWAY
+ dns-nameservers 8.8.8.8
+local-hostname: REPLACE_HOSTNAME
+