Re: [libvirt] [PATCH] vz: Allow to create container based on template

2015-12-10 Thread Mikhail Feoktistov
24.11.2015 17:14, Dmitry Guryanov пишет: On Thu, 2015-11-19 at 14:44 +0300, Mikhail Feoktistov wrote: We shouldn't delete disk from default config if we create container based on template, because we don't have the new disk from XML, only template name. And don't add template section from XML

Re: [libvirt] [PATCH] vz: Allow to create container based on template

2015-11-24 Thread Dmitry Guryanov
On Thu, 2015-11-19 at 14:44 +0300, Mikhail Feoktistov wrote: > We shouldn't delete disk from default config if we create container based on > template, > because we don't have the new disk from XML, only template name. > And don't add template section from XML as new filesystem, > we use

[libvirt] [PATCH] vz: Allow to create container based on template

2015-11-19 Thread Mikhail Feoktistov
We shouldn't delete disk from default config if we create container based on template, because we don't have the new disk from XML, only template name. And don't add template section from XML as new filesystem, we use PrlVmCfg_SetOsTemplate function to set template name. --- src/vz/vz_sdk.c | 33