if defined($conf->{pending}->{$opt});
&$create_disks($rpcenv, $authuser, $conf->{pending}, $storecfg, $vmid, undef, {$opt => $param->{$opt}});
- } elsif ($opt eq "replicate") {
- # check if all volumes have replicate feature
- PVE::QemuConfig->get_replicatable_volumes($storecfg, $conf);
- my $repl = PVE::JSONSchema::check_format('pve-replicate', $param->{opt});
- PVE::Cluster::check_node_exists($repl->{target});
- $conf->{$opt} = $param->{$opt};
} else {
$conf->{pending}->{$opt} = $param->{$opt};
}
maxLength => 256,
optional => 1,
},
- replicate => get_standard_option('pve-replicate'),
protection => {
optional => 1,
type => 'boolean',
},
replicate => {
type => 'boolean',
- description => 'Will include this drive to an storage replical job.',
+ description => 'Whether the drive should considered for replication jobs.',
optional => 1,
default => 1,
},