[virt-tools-list] [virt-manager] [PATCH 0/2] Resolve issue with LXC filesystem
Radostin Stoyanov
rstoyanov1 at gmail.com
Fri Jun 16 10:32:45 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".
[1] https://github.com/virt-manager/virt-manager/blob/master/virtinst/devicefilesystem.py#L99
Commits (2):
Keep the value of filesystem/source when attribute is changed
Set default Filesystem type for LXC to "Mount"
virtinst/devicefilesystem.py | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
--
2.9.4
More information about the virt-tools-list
mailing list