]> git.proxmox.com Git - pve-container.git/commit
Expose ssh_keys feature over API
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 5 Apr 2016 11:17:03 +0000 (13:17 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 5 Apr 2016 13:28:02 +0000 (15:28 +0200)
commit34ddbf0827b385494054f262708e21cc7604d475
tree54adc52265dc13bdb51270a0b3cec14357c1a71b
parente404c3ecbeb32ca52799b26ac58df3b77b9fa1c3
Expose ssh_keys feature over API

this adds a new optional parameter to the create_vm API
method, using which public ssh keys can be setup for the
container at creation.

the ssh-public-keys parameter is mapped to a filepath for
pct using the new string->filepath mapping mechanism.
src/PVE/API2/LXC.pm
src/PVE/CLI/pct.pm