$cmd = ['ssh', $host, '-o', 'BatchMode=yes',
'pvecm', 'addnode', $nodename, '--force', 1];
- push @$cmd, '-n', $param->{nodeid} if $param->{nodeid};
+ push @$cmd, '--nodeid', $param->{nodeid} if $param->{nodeid};
- push @$cmd, '-v', $param->{votes} if defined($param->{votes});
+ push @$cmd, '--votes', $param->{votes} if defined($param->{votes});
if (system (@$cmd) != 0) {
my $cmdtxt = join (' ', @$cmd);
+pve-cluster (1.0-23) unstable; urgency=low
+
+ * fix for pvecm add: avoid ambiguous options
+
+ -- Proxmox Support Team <support@proxmox.com> Wed, 22 Feb 2012 11:07:23 +0100
+
pve-cluster (1.0-22) unstable; urgency=low
* depend on insserv (we need dependency based boot)