3

I have used the kickstart generator tool to generate a kickstart/preseed file for ubuntu KVM installations which has worked well until now. It stopped working when I switched over to using a very weak password, which results it halting on an additional option shown below:

enter image description here

What do I need to add to the kickstart file in order to confirm that this is ok?

# Initial user
user ubuntu --fullname "" --password ubuntu
Programster
  • 6,039

2 Answers2

3

An Ubuntu Preseed file

# The installer will warn about weak passwords. If you are sure you know
# what you're doing and want to override it, uncomment this.
d-i user-setup/allow-password-weak boolean true

You need to expressly answer that installer question. The last line is what you need. The source documentation is here: Link to Ubuntu Preseed documentation and examples

3

Simply add the following line to the kickstart file:

preseed user-setup/allow-password-weak boolean true

It appears that one can just replace d-i with preseed in order to get the normal preseed instructions to work such as here.

Full credit to @Hamy and @Jeremy which this answer is fully derived from. I just wanted to put an "idiots guide" answer for people like myself.

Programster
  • 6,039