[virt-tools-list] [virt-manager] [PATCHv2 0/2] Resolve issue with LXC filesystem

Cole Robinson crobinso at redhat.com
Tue Jun 20 20:20:35 UTC 2017


On 06/19/2017 04:18 AM, Radostin Stoyanov wrote:
> To create "OS container" from qcow2 image
> we have to check on "Customise configuration before install."
> before we click Finish.
> 
> Then under "Filesystem" when we have to set:
> Type to "File", Driver to "Nbd", Format to "qcow2" and click Apply.
> 
> Unfortunately, if we follow these steps we will get error message.
> The error is coming from the fact that "dev.source" has value None.
> This is because we just changed the filesystem type from "Mount" to "File".
> In result this condition [1] will be True and virt-manager will try to show
> the value of "./source/@file" which is None because the value of source
> was stored in "./source/@dir".
> 
> Commits (2):
>   Keep the value of filesystem/source when attribute is changed
>   Set default Filesystem type for LXC to "Mount"
> 
>  .../compare/virt-install-fs-default.xml            |  2 +-
>  tests/xmlparse-xml/change-filesystems-out.xml      |  4 ++--
>  tests/xmlparse.py                                  |  2 +-
>  virtinst/devicefilesystem.py                       | 25 +++++++++++++++++++---
>  4 files changed, 26 insertions(+), 7 deletions(-)
> 

ACK, pushed now

Thanks,
Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list at redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list




More information about the virt-tools-list mailing list