yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92246
[Bug 1916234] Re: Network config debian + VMware faulty
Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3845
** Bug watch added: github.com/canonical/cloud-init/issues #3845
https://github.com/canonical/cloud-init/issues/3845
** Changed in: cloud-init
Status: Triaged => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1916234
Title:
Network config debian + VMware faulty
Status in cloud-init:
Expired
Bug description:
The /etc/network/interfaces file contains the line "source
/etc/network/interfaces.d/*.cfg" but the interface config file located
in /etc/network/interfaces.d/ does not has the ending .cfg.
See line 277 in this file:
https://github.com/canonical/cloud-init/blob/master/cloudinit/sources/helpers/vmware/imc/config_nic.py
See line 41 in this file:
https://github.com/canonical/cloud-init/blob/master/cloudinit/distros/debian.py
1. Tell us your cloud provider
VMware vSphere
2. Any appropriate cloud-init configuration you can provide us
Guest customization using Ansible vmware_guest module:
- name: Ensure vm is cloned from template and settings applied
community.vmware.vmware_guest:
hostname: vcenter
username: '{{ vmware_vcenter_username }}'
password: '{{ vmware_vcenter_password }}'
validate_certs: no
datacenter: '{{ vmware_vcenter_datacenter }}'
cluster: '{{ vmware_vcenter_cluster }}'
name: '{{ vmware_guest_name | lower }}'
template: '{{ vmware_guest_template }}'
datastore: '{{ vmware_guest_datastore }}'
folder: '{{ vmware_vcenter_datacenter }}/vm/{{ vmware_guest_folder_parent }}/{{ vmware_guest_folder_name }}'
resource_pool: '{{ vmware_vcenter_resource_pool }}'
hardware:
hotadd_cpu: true
hotremove_cpu: true
hotadd_memory: true
memory_mb: '{{ vmware_guest_memory }}'
num_cpus: '{{ vmware_guest_cpu }}'
num_cpu_cores_per_socket: '{{ vmware_guest_cpu_cores }}'
networks:
- name: '{{ vmware_guest_network }}'
vlan: '{{ vmware_guest_vlan }}'
ip: '{{ vmware_guest_ip }}'
netmask: '{{ vmware_guest_netmask }}'
gateway: '{{ vmware_guest_gateway }}'
domain: example.com
dns_servers: '{{ vmware_guest_dns }}'
type: static
connected: true
start_connected: true
customization:
hostname: '{{ vmware_guest_name | lower }}'
domain: example.com
dns_suffix: 'example.com'
dns_servers: '{{ vmware_guest_dns }}'
state: present
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1916234/+subscriptions
References