Ubuntu 20.04 autoinstall

Josef Wolf jw at raven.inka.de
Wed Nov 8 17:31:33 UTC 2023


On Wed, Nov 08, 2023 at 07:52:23AM -0500, Jerry Geis wrote:
> On Wed, Nov 8, 2023 at 7:17 AM Josef Wolf <jw at raven.inka.de> wrote:
> > 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:

> > > 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 the documentation:
> 
> Note that thanks to a bug, the version of Subiquity released with 20.04 GA
> forces you to write this with an extra network: key like so:
> 
> network:
>   network:
>     version: 2
>     ethernets:
>       enp0s31f6:
> 
> https://ubuntu.com/server/docs/install/autoinstall-reference

Are you sure you want to rely on bugs in the long run? Such workarounds tend
to fail miserably in future releases.

My example was copied straight out of one of my user-data/cloud-init files and
it works as expected with ubuntu-server-22.04 (LTS).

YMMV, of course!


-- 
Josef Wolf
jw at raven.inka.de



More information about the ubuntu-users mailing list