Commit Graph

25 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
b0fa5381c1
qubes-anaconda-addon: fix checking for versioned whonix templates
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.
2018-09-11 05:07:38 +02:00
Marek Marczykowski-Górecki
2c79b96c40
qubes-anaconda-addon, conf: update to Fedora 28 template
QubesOS/qubes-issues#4013
2018-07-13 17:30:00 +02:00
Marek Marczykowski-Górecki
425a82ed2e
qubes-anaconda-addon: adjust usbvm setup to simplified states
Don't use separte state for combined sys-net+sys-usb. Instead, use
pillar to adjust sys-usb state.

QubesOS/qubes-issues#3516
2018-03-02 20:55:43 +01:00
Marek Marczykowski-Górecki
9b4568310b
qubes-anaconda-addon: fix kernel version sorting
Use proper version comparing instead of string comparing - 4.14 is newer
than 4.9...
2018-01-30 06:06:40 +01:00
Marek Marczykowski-Górecki
d2c98e2907
Revert "qubes-anaconda-addon: initialize default-fw-netvm"
This reverts commit 3001440fff.

The property is gone.
2018-01-20 03:34:49 +01:00
awokd
ad159228e9
conf, qubes-anaconda-addon: switch templates to fedora-26 and debian-9
(cherry picked from commit a1cda1d705)
2018-01-16 01:55:46 +01:00
Marek Marczykowski-Górecki
3001440fff
qubes-anaconda-addon: initialize default-fw-netvm
It should be set to default netvm for proxy VMs: sys-net.

Reported by @adrelanos
Fixes QubesOS/qubes-issues#3190
2017-10-20 02:57:54 +02:00
Marek Marczykowski-Górecki
c9c3d3896b
qubes-anaconda-addon: adjust option for routing updates through tor
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.

Fixes QubesOS/qubes-issues#2604
2017-10-07 03:57:54 +02:00
Marek Marczykowski-Górecki
48c6983b29
qubes-anaconda-addon: use qvm-default-dispvm state
Migrate settings up fedora-25-dvm to salt state, same as for other VMs

QubesOS/qubes-issues#2975
2017-08-09 04:20:46 +02:00
Marek Marczykowski-Górecki
8d2f8b2d2c
qubes-anaconda-addon: fix setting default DispVM
Also hide it from application menu.

Fixes QubesOS/qubes-issues#2911
2017-07-18 05:05:17 +02:00
Marek Marczykowski-Górecki
4f8e2227e5
qubes-anaconda-addon: enable USB VM by default and drop 'experimental'
Fixes QubesOS/qubes-issues#2665
2017-06-14 05:04:34 +02:00
Marek Marczykowski-Górecki
493119be7b
qubes-anaconda-addon: drop --force-root option
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
2017-05-31 02:26:18 +02:00
Marek Marczykowski-Górecki
3c4127b445
qubes-anaconda-addon: update Disposable VM preparation code
We don't have to create savefile anymore, create normal AppVM and set
dispvm_allowed=True on it.

QubesOS/qubes-issues#2412
2017-05-31 02:25:01 +02:00
Marek Marczykowski-Górecki
7104af5daa
qubes-anaconda-addon: set default kernel
Since qubesd isn't running package kernel-qubes-vm package installation
time, this needs to be done here.

QubesOS/qubes-issues#2412
2017-05-31 02:24:06 +02:00
Marek Marczykowski-Górecki
1a527e5d05
qubes-anaconda-addon: update templates post-processing code
There is qvm-template-postprocess tool for this now.

QubesOS/qubes-issues#2412
2017-05-31 02:23:54 +02:00
Marek Marczykowski-Górecki
a9724c8580
qubes-anaconda-addon: change default template to fedora-25
QubesOS/qubes-issues#2412
2017-05-31 02:22:14 +02:00
Marek Marczykowski-Górecki
49f6d9c819
qubes-anaconda-addon: adjust options for qvm-prefs/qubes-prefs
QubesOS/qubes-issues#2412
2016-11-02 22:25:54 +01:00
Marek Marczykowski-Górecki
2a0a180be9
qubes-anaconda-addon: clear salt minion cache before running configuration
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.

Fixes QubesOS/qubes-issues#2213
2016-08-05 11:23:56 +02:00
Marek Marczykowski-Górecki
d8fab041cf
qubes-anaconda-addon: disable salt states after successful configuration
Fixes QubesOS/qubes-issues#2173
2016-07-16 16:28:19 +02:00
Marek Marczykowski-Górecki
2324cc88cb
qubes-anaconda-addon: don't set default netvm if wasn't created
Fixes QubesOS/qubes-issues#2142
2016-07-15 03:20:15 +02:00
Marek Marczykowski-Górecki
8b37d08376
qubes-anaconda-addon: adjust mgmt stack usage
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.
2016-06-06 00:58:03 +02:00
M. Vefa Bicakci
679b6468f8
qubes-anaconda-addon: Disable libvirt-guests service
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.
2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
1cda66e1ee
qubes-anaconda-addon: Disable rdisc and kdump at first boot 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
9fdff6c906
qubes-anaconda-addon: Let run_command optionally ignore failures 2016-04-10 00:00:00 -04:00
M. Vefa Bicakci
bb7c2caa13
qubes-anaconda-addon: An initial-setup module
This commit introduces an initial-setup module to replace the
firstboot-based initial set-up procedures required by Qubes OS.
2016-04-10 00:00:00 -04:00