]> git.proxmox.com Git - pve-container.git/commit
implement lxc restart migration
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 2 Dec 2016 10:42:50 +0000 (11:42 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 2 Dec 2016 11:06:46 +0000 (12:06 +0100)
commita7cedb735514a96f9f37aa15b20e67946b978682
tree521a3f2cf5d9c15afe0f53037abafdf84680a52a
parentf90f7e530ced1cac5e56ff8fd1a94d691c829625
implement lxc restart migration

this checks for the 'restart' parameter and if given, shuts down the
container with a optionally defined timeout (default 180s), and
continues the migration like an offline one.

after finishing, we start the container on the target node

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/LXC/Migrate.pm