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/                                  |  2 +-
 virtinst/                       | 25 +++++++++++++++++++---
 4 files changed, 26 insertions(+), 7 deletions(-)


virt-tools-list mailing list

Reply via email to