allows to shows this in the web interface in the task log heading, e.g.: Create Cluster 'Foo' Join node 'Bar'
Needs the respective mappings in the widget toolkits Utils file Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com> --- data/PVE/API2/ClusterConfig.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/PVE/API2/ClusterConfig.pm b/data/PVE/API2/ClusterConfig.pm index f07dca8..ea253b5 100644 --- a/data/PVE/API2/ClusterConfig.pm +++ b/data/PVE/API2/ClusterConfig.pm @@ -151,7 +151,7 @@ __PACKAGE__->register_method ({ die $@ if $@; }; - return $rpcenv->fork_worker('clustercreate', '', $authuser, $worker); + return $rpcenv->fork_worker('clustercreate', $param->{clustername}, $authuser, $worker); }}); __PACKAGE__->register_method({ @@ -516,7 +516,7 @@ __PACKAGE__->register_method ({ die $@ if $@; }; - return $rpcenv->fork_worker('clusterjoin', '', $authuser, $worker); + return $rpcenv->fork_worker('clusterjoin', $param->{hostname}, $authuser, $worker); }}); -- 2.14.2 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel