summaryrefslogtreecommitdiff
path: root/tools/mock-meta.py
diff options
context:
space:
mode:
authorSankar Tanguturi <stanguturi@vmware.com>2017-09-07 22:16:16 -0600
committerChad Smith <chad.smith@canonical.com>2017-09-07 22:21:30 -0600
commita1dfdda2a2ae20fe026881980ddf7d16110f06e2 (patch)
treea3bf7afdee7015622d658c0a05b8ce38f499fe6c /tools/mock-meta.py
parent922c3c5c1a86f2d58e95a328e72b49a3bb234ca8 (diff)
downloadvyos-cloud-init-a1dfdda2a2ae20fe026881980ddf7d16110f06e2.tar.gz
vyos-cloud-init-a1dfdda2a2ae20fe026881980ddf7d16110f06e2.zip
vmware customization: return network config format
For customizing the machines hosted on 'VMWare' hypervisor, the datasource should return the 'network config' data in 'curtin' format. This branch also fixes /etc/network/interfaces replacing the line "source /etc/network/interfaces.d/*.cfg" which is incorrectly removed when VMWare's Perl Customization Engine writes /etc/network/interfaces. Modify the code to read the customization configuration and return the converted data. Added few tests. LP: #1675063
Diffstat (limited to 'tools/mock-meta.py')
0 files changed, 0 insertions, 0 deletions