Network config debian + VMware faulty

Bug #1916234 reported by Mathias Störch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Undecided
Unassigned

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

Revision history for this message
Mathias Störch (xiphiphorus) wrote :
Changed in cloud-init:
status: New → Triaged
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.