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

[virt-tools-list] virt-manager: show read-only check button when add fs for lxc container



From: Chen Hanxiao <chenhanxiao cn fujitsu com>

show read-only check button when add fs for lxc container.

Signed-off-by: Chen Hanxiao <chenhanxiao cn fujitsu com>
---
 virtManager/addhardware.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
index fb7c236..fa534cc 100644
--- a/virtManager/addhardware.py
+++ b/virtManager/addhardware.py
@@ -307,6 +307,7 @@ class vmmAddHardware(vmmGObjectUI):
         simple_store_set("fs-wrpolicy-combo", VirtualFilesystem.WRPOLICIES)
         self.show_pair_combo("fs-type", self.conn.is_openvz())
         self.show_check_button("fs-readonly", self.conn.is_qemu())
+        self.show_check_button("fs-readonly", self.conn.is_lxc())
 
         # Smartcard widgets
         combo = self.widget("smartcard-mode")
-- 
1.8.2.1


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