[rhinstaller/anaconda/pulls/208 master] Fix possible to start installation without network (#1221109)
bcl
installerbot-noreply at redhat.com
Wed Jul 15 23:33:24 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:
hd is another possible non-network source.
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/208#discussion_r34742021
More information about the anaconda-patches
mailing list