Autoinstall

Josef Wolf jw at raven.inka.de
Tue May 2 13:28:46 UTC 2023


Maybe this is the wrong list for autoinstaller questions? Somebody can point
me to the correct list?

On Tue, Apr 25, 2023 at 04:58:57PM +0200, Josef Wolf wrote:
> Hello,
> 
> I have used preseeding with the old d-i style for many years and am about to
> move to the new autoinstall feature of ubuntu-22.04
> 
> With this, I have some issues:
> 
> 
> For first, I use the following command line:
> 
> 
>    menuentry "Autoinstall" {
>      set gfxpayload=keep
>      linux   /casper/vmlinuz quiet autoinstall ds=nocloud\;s=/cdrom/preseed/ ---
>      initrd  /casper/initrd
>    }
> 
> Although I explicitly specify the location of the user-init file, there is a
> big delay at startup with message
> 
>    wait for cloud-init
> 
> At some point in time it eventually times out and actually loads the user-data
> that is located at /cdrom/preseed directory. Why this delay? Why wont it just
> go and load the supplied file immediately?
> 
> 
> 
> Second issue is, I specify a wlan config and user config like this:
> 
>   #cloud-config
>   autoinstall:
>     version: 1
>     interactive-sections:  # Install groups listed here will wait for user input
>       - storage
>       - network
>       - identity
>     network:
>       version: 2
>         wifis:
>           wlp1s0:
>             access-points:
>               Guest-SSID:
>               password: Password-for-guest-net
>             dhcp4:
>               true
>     identity:
>       hostname: foobar
>       password: dfsldhkasfansdvjbdfuip94c9234z2837rz8erghc8qeh83mhf9qehgergegegdcrfwehruwe
>       realname: Initial User
>       username: dummy
>                   
> But the section is simply ignored. And for the identity section, the password
> is wiped.
> 
> Why?
> 
> -- 
> 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

-- 
Josef Wolf
jw at raven.inka.de



More information about the ubuntu-users mailing list