type => { description => "Section type." },
group => get_standard_option('pve-ha-group-id',
{ completion => \&PVE::HA::Tools::complete_group }),
- nodes => get_standard_option('pve-ha-group-node-list'),
+ nodes => get_standard_option('pve-ha-group-node-list', { optional => 1 }),
restricted => {
description => "Services on unrestricted groups may run on any cluster members if all group members are offline. But they will migrate back as soon as a group member comes online. One can implement a 'preferred node' behavior using an unrestricted group with one member.",
type => 'boolean',
sub options {
return {
- nodes => {},
+ nodes => { optional => 0 },
comment => { optional => 1 },
nofailback => { optional => 1 },
restricted => { optional => 1 },