[pve-devel] [PATCH] PVE/API2/LXC.pm ssh-public-keys alias

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Jan 31 09:23:47 CET 2018


On Wed, Jan 31, 2018 at 12:14:43AM +0100, Geert Stappers wrote:
> Parameter name 'ssh-public-keys' causes trouble
> when written as ssh-public-keys. Because it can read as
> arthmetic expression ssh minus public minus keys.

Just put quotes around it (and/or encode it properly depending on what
you're actually doing).

In fact I'd rather want to go the other way and get rid of the existing
underscores in the API because we often also use them for command line
parameters, too, where underscores are just plain weird.




More information about the pve-devel mailing list