At the moment the network spoke tries to trigger a payload reset when network settings are
changed even if running inside of Initial Setup. This is of course wrong, as there is no
payload instance in Initial Setup, which can trigger a lot of various issues (crashes,
weird log messages, etc.).
The first patch adds the environs flag so that spokes can easily check the environment at
runtime. It also gets rid of the old _environs hub property.
The second patch then uses the environs flag to only trigger the payload reset when the
network spoke is run from inside of Anaconda.
--
To view this pull request on github, visit
https://github.com/rhinstaller/anaconda/pull/652