Issue with Proxmox Autoinstaller

mosespray

New Member
May 24, 2025
12
2
3
I am trying to use the Autoinstaller. I created my answer.toml file and have created the modified iso file. It boots fine and runs until it gets to the line "root-password".

I get:

ERROR: Autoinstaller setup error: Failed parsing answer file: TOML parse error at line 7 column 1.
7. root-password = "12345678"
^^^^^^^^^^^^
unknown field 'root-password', expected one of 'country', 'fqdn'...

I thought that maybe it didn't like my password so I set it to 12345678 as in the example, no luck.
Finally, I actually cut and pasted the actual example and it still gave me an error:


Code:
[global]
keyboard = "de"
country = "at"
fqdn = "pveauto.testinstall"
mailto = "mail@no.invalid"
timezone = "Europe/Vienna"
root-password = "12345678"
root-ssh-keys = [
    "ssh-ed25519 AAAA..."
]

[network]
source = "from-dhcp"

[disk-setup]
filesystem = "zfs"
zfs.raid = "raid1"
disk-list = ["sda", "sdb"]

[post-installation-webhook]
url = "https://my.endpoint.local/postinst"
cert-fingerprint = "AA:E8:CB:95:B1:..."

[first-boot]
source = "from-iso"
ordering = "before-network"
 
Looking at the source code indicates that both are used there too. Although, root_password seems to be the variable names.
 
So, apparently at some point the code and documentation parted ways. It seems that many of the options that used to be separated with a "-" are now expected to be separated with a "_".

Some examples: root_password, disk_list, filter_match, just to name a few. Is there somewhere that I can submit this for review? I assume I shouldn't just change it on the wiki.
 
Last edited:
What ISO version are you using?
The kebap-case keys are only available since 8.4-1, as documented in the Answer file format changes section.

bbgeek17 said:
There seems to be an inconsistency in the documentation where both root-password and root_password are mentioned.
That's a good spot, some remaining occurences of the old name. I'll fix them up soon.
 
Last edited: