diff options
author | Chen Hanxiao <chenhanxiao@cn.fujitsu.com> | 2013-11-26 11:09:37 +0800 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2013-11-26 10:08:56 -0500 |
commit | 7b9a040249c10c940fc20b43ae2a49c983177ac3 (patch) | |
tree | f31f521634c50fca867c7f184cd166f52dd233a4 | |
parent | e51dd1cf40c6a0ab2da42ca0998b35f8b2daf47c (diff) | |
download | virt-manager-7b9a040249c10c940fc20b43ae2a49c983177ac3.tar.gz |
show read-only check button when add fs for lxc container
Show read-only check button when add fs for lxc container.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
-rw-r--r-- | virtManager/addhardware.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py index fb7c236d..fc2f0f88 100644 --- a/virtManager/addhardware.py +++ b/virtManager/addhardware.py @@ -306,7 +306,8 @@ class vmmAddHardware(vmmGObjectUI): simple_store_set("fs-driver-combo", VirtualFilesystem.DRIVERS) 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_qemu() or self.conn.is_lxc()) # Smartcard widgets combo = self.widget("smartcard-mode") |