properties => {
sid => get_standard_option('pve-ha-resource-or-vm-id',
{ completion => \&PVE::HA::Tools::complete_sid }),
- node => get_standard_option('pve-node',
- { completion => \&PVE::Cluster::get_nodelist }),
+ node => get_standard_option('pve-node', {
+ completion => \&PVE::Cluster::complete_migration_target,
+ description => "Target node.",
+ }),
},
},
returns => { type => 'null' },
properties => {
sid => get_standard_option('pve-ha-resource-or-vm-id',
{ completion => \&PVE::HA::Tools::complete_sid }),
- node => get_standard_option('pve-node',
- { completion => \&PVE::Cluster::get_nodelist }),
+ node => get_standard_option('pve-node', {
+ completion => \&PVE::Cluster::complete_migration_target,
+ description => "Target node.",
+ }),
},
},
returns => { type => 'null' },