]> git.proxmox.com Git - pve-container.git/commit
setup: fix calling clone hook with weird params
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Jun 2021 16:02:21 +0000 (18:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Jun 2021 16:02:27 +0000 (18:02 +0200)
commit6ef3baef6e29ffbcd79e929fc15089efed5cc7e7
treef04c33d6b70488e494da6f676ec7ce94ea7d0f2a
parent5eacc6548573f0430d2012bd695bf60c5dc3fef0
setup: fix calling clone hook with weird params

$clone has no use and what the interface constraints on $conf vs.
$self->{conf} really are is nowhere documented, so just use $conf for
now, to at least use only one thing (and avoid the highly confusing
case where the signature suggests that $conf is used, so when one
would pass a to $self->{conf} unrelated $conf it would not work)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup.pm