[virt-tools-list] [virt-manager] [PATCHv2 0/2] Resolve issue with LXC filesystem
Radostin Stoyanov
rstoyanov1 at gmail.com
Mon Jun 19 08:18:46 UTC 2017
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(-)
--
2.9.4
More information about the virt-tools-list
mailing list