[virt-tools-list] [PATCH virt-manager] virtManager, create: disable ISO detection with remote connections
Giuseppe Scrivano
gscrivan at redhat.com
Mon Aug 4 10:17:12 UTC 2014
"chenhanxiao at cn.fujitsu.com" <chenhanxiao at cn.fujitsu.com> writes:
>> -----Original Message-----
>> From: virt-tools-list-bounces at redhat.com
>> [mailto:virt-tools-list-bounces at redhat.com] On Behalf Of Giuseppe Scrivano
>> Sent: Monday, August 04, 2014 5:43 PM
>> To: virt-tools-list at redhat.com
>> Subject: [virt-tools-list] [PATCH virt-manager] virtManager, create: disable ISO
>> detection with remote connections
>>
>> Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
>> ---
>> virtManager/create.py | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/virtManager/create.py b/virtManager/create.py
>> index fe08cdc..00d909a 100644
>> --- a/virtManager/create.py
>> +++ b/virtManager/create.py
>> @@ -1168,7 +1168,9 @@ class vmmCreate(vmmGObjectUI):
>> self.start_detection(forward=forward)
>>
>> def toggle_detect_os(self, src):
>> - dodetect = src.get_active()
>> + dodetect = not self.conn.is_remote()
>> + src.set_active(dodetect)
>> + src.set_visible(dodetect)
>>
>> self.widget("install-os-type-label").set_visible(dodetect)
>> self.widget("install-os-version-label").set_visible(dodetect)
>> --
>> 1.9.3
>
> ACK.
thanks, pushed now.
Giuseppe
More information about the virt-tools-list
mailing list