Error on Wiki

NatanBackwards

New Member
May 1, 2024
5
8
3
Hello,
I think there is an error on the Wiki documenting the automated installation keys.
https://pve.proxmox.com/wiki/Automated_Installation#Global_Section
I see:
  • root-ssh_keys -- Optional. SSH public keys to add to the authorized_keys file of the root user after the installation.

This syntax seems to be incorrect as I am getting reports this key doesn't work unless fully snake or kebab case. I am guessing this should be fully kebab case ie: root-ssh-keys? I didn't test this myself but I got a report for this via an app I developed (https://github.com/natankeddem/autopve).
 
Hi,

I've just now sync'd the latest changes - there were indeed some leftovers keys which were not changed over to kebab case.

This change had been already documented since the PVE 8.4 / PBS 3.4 release, in any case: https://pve.proxmox.com/wiki/Automated_Installation#Answer_file_format_changes
The Proxmox VE 9.0 BETA changes are not (yet) documented - I'll see if I get around, since these are definitely important to incorporate release day support in projects using the auto-installer!

This syntax seems to be incorrect as I am getting reports this key doesn't work unless fully snake or kebab case.
You don't specify an ISO version (nor a product) - which one are you using?
For the Proxmox VE 8.4-1 ISO release the underscore keys should (still) work. In fact, for that versions, both variants are supported.

You might also be interested in the proxmox-auto-install-assistant validate-answer command.
 
Are you saying that the mixed kebab/snake 'root-ssh_keys' case worked on some versions? Not I am not asking about if fully kebab or snake cased ones work. The documented one previous to your change just now was using a mix using both styles. I am unsure of the specific version the user was utilizing, I am just working off a github issue that was submitted to me. My application has some keys provided for user assistance (as well as allowing arbitrary inputs) so I had the mixed version per the documentation.

In any case thank you for the quick fix to the Wiki!
 
The documented one previous to your change just now was using a mix using both styles.
Oh, I see, yeah - that was definitely a mistake on our side, probably during a search-and-replace for these occurrences.
Sorry again than this happened!

Are you saying that the mixed kebab/snake 'root-ssh_keys' case worked on some versions?
No, it's either only underscore for old(er) versions and only kebab-case for newer versions. Mixed never was supported.