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:
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"