]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC/Create.pm
split up create_rootfs and restore_and_configure
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 3 Jun 2016 07:56:16 +0000 (09:56 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Jun 2016 08:04:59 +0000 (10:04 +0200)
commit51665c2ddb76839d8dd37baf7c8ff650732918d2
treeb0346b5969827885badcf03716844167ccfa3907
parentca01f8408faba8dc1cd30f5c78e0f8cbd8585a1b
split up create_rootfs and restore_and_configure

these were only used once and their method signatures were
already quite long, so split up into
- delete old existing container and write new config
- mount
- restore archive / extract template
- restore configuration / setup new container
- unmount
src/PVE/API2/LXC.pm
src/PVE/LXC/Create.pm