[rhinstaller/anaconda/pulls/208 master] Fix possible to start installation without network (#1221109)

jkonecny12 installerbot-noreply at redhat.com
Thu Jul 16 07:16:38 UTC 2015


> @@ -1418,12 +1419,19 @@ def __init__(self, *args, **kwargs):
>                                           self.on_nm_state_changed)
>          self.network_control_box.connect("device-state-changed",
>                                           self.on_device_state_changed)
> +        # true if network settings change (hostname excluded)
> +        self._network_change = False
>  
>      def apply(self):
>          _update_network_data(self.data, self.network_control_box)
>          log.debug("network: apply ksdata %s", self.data.network)
>          self.network_control_box.kill_nmce(msg="leaving network spoke")
>  
> +        # if installation media is not used try if source is reachable
> +        if self.data.method.method != "cdrom" and self._network_change:

True. I'll change it locally.

-- 
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/208#discussion_r34761218


More information about the anaconda-patches mailing list