When doing a linked clone of a template, the task log, journal, nor the UPID of the task will log the VMID of the newly created container.
We add a log message at the start of the clone. This affects both full and linked clones. Signed-off-by: Maximiliano Sandoval <[email protected]> --- src/PVE/API2/LXC.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm index 7841215..a5bf1aa 100644 --- a/src/PVE/API2/LXC.pm +++ b/src/PVE/API2/LXC.pm @@ -2134,6 +2134,8 @@ __PACKAGE__->register_method({ my $newvollist = []; + print("creating a clone of container $vmid with ID $newid\n"); + my $verify_running = PVE::LXC::check_running($vmid) || 0; die "unexpected state change\n" if $verify_running != $running; -- 2.47.3
