[virt-tools-list] [virt-manager PATCH v2] show read-only check button when add fs for lxc container
Cole Robinson
crobinso at redhat.com
Tue Nov 26 15:09:16 UTC 2013
On 11/25/2013 10:09 PM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
>
> Show read-only check button when add fs for lxc container.
>
> Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> ---
> virtManager/addhardware.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
> index fb7c236..fc2f0f8 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")
>
Thanks, pushed now.
- Cole
More information about the virt-tools-list
mailing list