Ubuntu 20.04 autoinstall

Josef Wolf jw at raven.inka.de
Wed Nov 8 12:14:31 UTC 2023


On Wed, Nov 08, 2023 at 06:56:23AM -0500, Jerry Geis wrote:
> On Wed, Nov 8, 2023 at 6:47 AM Josef Wolf <jw at raven.inka.de> wrote:
> 
> > On Fri, Nov 03, 2023 at 07:04:30PM -0400, Jerry Geis wrote:
> > > Is there a way to tell autoinstall or the linux kernel command line at
> > boot to NOT use wireless at all ?  Hopefully not load any modules then for
> > firmware etc.
> > > trying to reduce the install
> >
> > With autoinstall, you would supply your own cloud-init file anyway,
> > wouldn't you?
> >
> > There, you can simply provide your netplan config as you like. Just omit
> > the
> > "wifis" section in the netplan config. Something like:
> >
> >
> > #cloud-config
> > autoinstall:
> >   version: 1
> >   #  interactive-sections:  # Install groups listed here will wait for
> > user input
> >   #    - storage
> >   #    - network
> >   #    - identity
> >   network:
> >     version: 2
> >     ethernets:
> >       eth0:
> >         optional: true
> >         dhcp4: true
> >         dhcp4-overrides:
> >           send-hostname: false
> >
> >
> > --
> > Josef Wolf
> > jw at raven.inka.de
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
> 
> That is what I am going now.  No w* in the ethernets section - just e*
> 
>    network:
>     network:

This double "network" stanza looks somewhat suspicious to me. It is placing
the netplan spec one level too deep, making netplan to fail

>From my experience with subiquity/curtin, I'd expect the install to fail
without telling you what happened and why that happened.

>       version: 2
>       ethernets:
>         eth0:
>           dhcp4: yes
>           dhcp-identifier: mac
>         edns0:
>           dhcp4: yes
>           dhcp6: no
>           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
>         ens33:
>           dhcp4: yes
>           dhcp6: no
>           dhcp-identifier: mac
>         ens34:
>           dhcp4: yes
>           dhcp6: no
>           dhcp-identifier: mac
>         enp1s0:
>           dhcp4: yes
>           dhcp6: no
>           dhcp-identifier: mac
>         enp2s0:
>           dhcp4: yes
>           dhcp6: no
>           dhcp-identifier: mac
>         enp3s0:
>           dhcp4: yes
>           dhcp6: no
>           dhcp-identifier: mac
>         enp4s11:
>           dhcp4: yes
>           dhcp6: no
>           dhcp-identifier: mac
>         eno8303:
>           dhcp4: yes
>           dhcp6: no
>           dhcp-identifier: mac
>         eno8304:
>           dhcp4: yes
>           dhcp6: no
>           dhcp-identifier: mac
> 
> 
> Jerry

> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


-- 
Josef Wolf
jw at raven.inka.de



More information about the ubuntu-users mailing list