virt-manager: Fix self.config

Due to all the negations for 'hide-unsupported-rhel-options' option in
configuration, there was missing 'not' in virt-manager when setting
relevant self.config variable.  This patch changes it the same way as
in 'virtinst/__init__.py', which is right.
This commit is contained in:
Martin Kletzander
2013-08-07 15:08:50 +02:00
parent 623edd1a84
commit f9a1c33ce8

View File

@@ -244,7 +244,7 @@ def main():
virtManager.util.running_config = config
config.default_qemu_user = cliconfig.default_qemu_user
config.rhel6_defaults = cliconfig.rhel_enable_unsupported_opts
config.rhel6_defaults = not cliconfig.rhel_enable_unsupported_opts
config.preferred_distros = cliconfig.preferred_distros
config.hv_packages = cliconfig.hv_packages