applied this cluster patch On 4/19/18 2:01 PM, Fabian Grünbichler wrote: > to lock an ACME account config file > > Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> > --- > data/PVE/Cluster.pm | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm > index ef7a541..d12c244 100644 > --- a/data/PVE/Cluster.pm > +++ b/data/PVE/Cluster.pm > @@ -960,6 +960,14 @@ sub cfs_lock_domain { > &$cfs_lock($lockid, $timeout, $code, @param); > } > > +sub cfs_lock_acme { > + my ($account, $timeout, $code, @param) = @_; > + > + my $lockid = "acme-$account"; > + > + &$cfs_lock($lockid, $timeout, $code, @param); > +} > + > my $log_levels = { > "emerg" => 0, > "alert" => 1, >
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel