1. 21
  1. 4

    Nice! And I like that the imager tool have support for adding a new user when generating the image, useful for headless machines.

    1. 5

      According to the blog post you can create a file called userconf which contains the user and the hashed password. This file will then create the user at the first start. Or you could use the Ubuntu Raspi image which is able to be configured via cloud-init.

    2. 3

      There are also mechanisms to preconfigure an image without using Imager. To set up a user on first boot and bypass the wizard completely, create a file called userconf or userconf.txt in the boot partition of the SD card

      Perfect.