summaryrefslogtreecommitdiff
path: root/tests/data/vmware/cust-dhcp-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-dhcp-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-dhcp-2nic.cfg')
-rw-r--r--tests/data/vmware/cust-dhcp-2nic.cfg34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/data/vmware/cust-dhcp-2nic.cfg b/tests/data/vmware/cust-dhcp-2nic.cfg
new file mode 100644
index 00000000..f687311a
--- /dev/null
+++ b/tests/data/vmware/cust-dhcp-2nic.cfg
@@ -0,0 +1,34 @@
+[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 = dhcp
+
+[NIC2]
+MACADDR = 00:50:56:a6:5a:de
+ONBOOT = yes
+IPv4_MODE = BACKWARDS_COMPATIBLE
+BOOTPROTO = dhcp
+
+# some random comment
+
+[PASSWORD]
+# secret
+-PASS = c2VjcmV0Cg==
+
+[DNS]
+DNSFROMDHCP=yes
+SUFFIX|1 = eng.vmware.com
+
+[DATETIME]
+TIMEZONE = Africa/Abidjan
+UTC = yes