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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux