autoinstall network section

Jerry Geis jerry.geis at gmail.com
Tue Jan 26 21:45:30 UTC 2021


I have not seen an example of a network section that just "does it".
Do you have to name each possible network device ?

My section is this:
  network:
    network:
      version: 2
      ethernets:
        eth0:
          dhcp4: yes
          dhcp-identifier: mac
        eno1:
          dhcp4: yes
          dhcp6: no
          dhcp-identifier: mac
        eno2:
          dhcp4: yes
          dhcp6: no
          dhcp-identifier: mac
        eno3:
          dhcp4: yes
          dhcp6: no
          dhcp-identifier: mac
        ens1:
          dhcp4: yes
          dhcp6: no
          dhcp-identifier: mac
        ens2:
          dhcp4: yes
          dhcp6: no
          dhcp-identifier: mac
        ens3:
          dhcp4: yes
          dhcp6: no
          dhcp-identifier: mac
        enp1s0:
          dhcp4: yes
          dhcp6: no
          dhcp-identifier: mac



How do simply say. Yes I want networking and make it happen without listing
every possible name?

Thanks,

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210126/59244150/attachment.html>


More information about the ubuntu-users mailing list