[virt-manager] [PATCH 2/2] Set default Filesystem type for LXC to "Mount"

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

 



---
 virtinst/devicefilesystem.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtinst/devicefilesystem.py b/virtinst/devicefilesystem.py
index be8f841..5c1645f 100644
--- a/virtinst/devicefilesystem.py
+++ b/virtinst/devicefilesystem.py
@@ -123,7 +123,7 @@ class VirtualFilesystem(VirtualDevice):
     def set_defaults(self, guest):
         ignore = guest
 
-        if self.conn.is_qemu() or self.conn.is_test():
+        if self.conn.is_qemu() or self.conn.is_lxc() or self.conn.is_test():
             # type=mount is the libvirt qemu default. But hardcode it
             # here since we need it for the accessmode check
             if self.type is None or self.type == self.TYPE_DEFAULT:
-- 
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