summaryrefslogtreecommitdiff
path: root/tests/data/vmware/cust-static-2nic.cfg
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-01 00:51:26 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-01 00:51:26 -0500
commitf0e26abe896318819a6b568dd72e9974b53928c8 (patch)
treee2aa8a1c6260b94c2c416f81c1c54af624a1afbb /tests/data/vmware/cust-static-2nic.cfg
parent14915526ca67bbf7842028d48170015b85f87469 (diff)
parentc5d2f79a982258d86181368b25ce6bc6638ef645 (diff)
downloadvyos-cloud-init-f0e26abe896318819a6b568dd72e9974b53928c8.tar.gz
vyos-cloud-init-f0e26abe896318819a6b568dd72e9974b53928c8.zip
Add Image Customization Parser for VMware vSphere Hypervisor Support.
This is the first changeset submitted as a part of project to add cloud-init support for VMware vSphere Hypervisor. This changeset contains _only_ the changes for a simple python parser for a Image Customization Specification file pushed by VMware vSphere hypervisor into the guest VMs. In a later changeset, will be submitting another patch to actually detect the underlying VMware vSphere hypervisor and do the necessary customization.
Diffstat (limited to 'tests/data/vmware/cust-static-2nic.cfg')
-rw-r--r--tests/data/vmware/cust-static-2nic.cfg39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/vmware/cust-static-2nic.cfg b/tests/data/vmware/cust-static-2nic.cfg
new file mode 100644
index 00000000..0d80c2c4
--- /dev/null
+++ b/tests/data/vmware/cust-static-2nic.cfg
@@ -0,0 +1,39 @@
+[NETWORK]
+NETWORKING = yes
+BOOTPROTO = dhcp
+HOSTNAME = myhost1
+DOMAINNAME = eng.vmware.com
+
+[NIC-CONFIG]
+NICS = NIC1,NIC2
+
+[NIC1]
+MACADDR = 00:50:56:a6:8c:08
+ONBOOT = yes
+IPv4_MODE = BACKWARDS_COMPATIBLE
+BOOTPROTO = static
+IPADDR = 10.20.87.154
+NETMASK = 255.255.252.0
+GATEWAY = 10.20.87.253, 10.20.87.105
+IPv6ADDR|1 = fc00:10:20:87::154
+IPv6NETMASK|1 = 64
+IPv6GATEWAY|1 = fc00:10:20:87::253
+[NIC2]
+MACADDR = 00:50:56:a6:ef:7d
+ONBOOT = yes
+IPv4_MODE = BACKWARDS_COMPATIBLE
+BOOTPROTO = static
+IPADDR = 192.168.6.102
+NETMASK = 255.255.0.0
+GATEWAY = 192.168.0.10
+
+[DNS]
+DNSFROMDHCP=no
+SUFFIX|1 = eng.vmware.com
+SUFFIX|2 = proxy.vmware.com
+NAMESERVER|1 = 10.20.145.1
+NAMESERVER|2 = 10.20.145.2
+
+[DATETIME]
+TIMEZONE = Africa/Abidjan
+UTC = yes