X-Git-Url: https://git.proxmox.com/?p=pve-container.git;a=blobdiff_plain;f=src%2FPVE%2FLXC%2FMigrate.pm;h=2ef1cce42adf738050c6cf37043c2bbb54bc01a8;hp=1739c7809de8e0140344e9cca25f52dce4413ec6;hb=b9d0dcb46b94dcdcecdad1ca03facdf74dd5faf2;hpb=26115ef20164f1a33ee690d390adf595c74a6464 diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm index 1739c78..2ef1cce 100644 --- a/src/PVE/LXC/Migrate.pm +++ b/src/PVE/LXC/Migrate.pm @@ -220,6 +220,7 @@ sub phase1 { my ($volid, $sid, $volname) = @_; $volhash->{$volid}->{ref} = 'storage'; + $volhash->{$volid}->{targetsid} = $targetsid; }); } @@ -304,6 +305,7 @@ sub phase1 { 'ratelimit_bps' => $bwlimit, 'insecure' => $opts->{migration_type} eq 'insecure', 'with_snapshots' => $volhash->{$volid}->{snapshots}, + 'allow_rename' => 1, }; my $logfunc = sub { $self->log('info', $_[0]); };