0

According to the ubuntu manual, the automatically generated autoinstall-user-data will just work. However, when I try to use it to seed the server, it report shcema error:

enter image description here

Is this file actually non-usable

muru
  • 193,181
  • 53
  • 473
  • 722
Wang
  • 584
  • 5
  • 20
  • My experience using the `/var/log/installer/autoinstall-user-data` file is that it will give errors. Each Ubuntu release contains a newer version of the installer, so the errors vary based on the release. I would use sample `user-data` files and merge in whatever sections you need customized. My stock `user-data` file is in this answer https://askubuntu.com/a/1235724/376778 – Andrew Lowther Sep 24 '21 at 21:38

1 Answers1

1

The generated autoinstall-user-data had an extra level of 'kernel' in it. This has been resolved on the Subiquity main branch. For existing autoinstall files, if you have something like the following:

kernel:
  kernel:
    package: linux-generic

please change it to look like:

kernel:
  package: linux-generic.