[pve-devel] applied: [PATCH v6 manager 3/6] add pveceph install to shell api

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Feb 28 13:38:27 CET 2019


On 2/27/19 3:01 PM, Tim Marx wrote:
> Signed-off-by: Tim Marx <t.marx at proxmox.com>
> ---
>  PVE/API2/Nodes.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
> index 41865b99..8b74a1a6 100644
> --- a/PVE/API2/Nodes.pm
> +++ b/PVE/API2/Nodes.pm
> @@ -704,6 +704,7 @@ my $sslcert;
>  my $cmdMapper = {
>      'login' => [ '/bin/login', '-f', 'root' ],
>      'upgrade' => [ '/usr/bin/pveupgrade', '--shell' ],
> +    'ceph_install' => [ '/usr/bin/pveceph', 'install' ],
>  };
>  
>  sub get_shell_command  {
> 

applied, but needed to adapt as the "$cmdMapper" from diff context now is named
"$shell_cmd_map", thanks!




More information about the pve-devel mailing list