Separate UI from applying configuration by implementing proper
anaconda/kickstart addon. This have multiple benefits:
- entering settings window twice does not result in configuration being
applied multiple times
- all settings can be saved and loaded in kickstart file - this allows
automating this part of installation too
- it's much easier to implement other UI (text) for the same mechanism
There is one little catch: initial-setup (contrary to base anaconda)
does not provide graphical indicator for long-running system
configuration, so while configuration is progress, the UI is frozen.
Workaround this by re-using old progress dialog, but from kickstart
addon this time. This means the kickstart needs to know whether it's
running from GUI or not.
FixesQubesOS/qubes-issues#2433
(backported from R4.1, adjusted for older anaconda)
Use '*' in package name. This require using rpm -qa (instead of rpm -q).
In this case, checking exit code doesn't work, we need to check if any
package was actually listed.
Previously the option was described "Route applications traffic and
updates through Tor anonymity network". This isn't fully accurate
description, and also we decided it's better to provide an option for
routing just updates, not everything.
Also, remove 'experimental' tag.
FixesQubesOS/qubes-issues#2604
It isn't needed anymore and will be dropped in the future.
Also use qvm-start directly, instead of (soon to be removed) qubes-netvm
service.
QubesOS/qubes-issues#2412
Salt minion cache can be incomplete after initial installation. As it was
reported in #2213, just `qubesctl saltutil.sync_all` isn't enough to
refresh it in some cases - it may still lack of some files
(ext_module_qvm.py in this case). So, clear the cache completely before
initial configuration.
FixesQubesOS/qubes-issues#2213
Salt-minion config is no longer generated using 'state.sls config', so
remove references to it. Instead make sure all modules are up to date in
cache (saltutil.sync_all).
Also make sure 'salt-minion' service is disabled (it is no longer
handled by config formula).
Additionally dom0 states are no longer in separate environment.
Slightly improve logging.
This service suspends virtual machines at shutdown time and resumes them
at start-up time. This unfortunately breaks virtual machines which have
PCI devices attached.