anaconda: enable only initial-setup.service variant
It should take care of choosing the right one. QubesOS/qubes-issues#1807
This commit is contained in:
parent
6ce8b815d7
commit
d576319578
@ -708,8 +708,7 @@ class Firstboot(commands.firstboot.FC3_Firstboot):
|
||||
|
||||
def execute(self, *args):
|
||||
action = "enable"
|
||||
services = ["initial-setup-graphical.service",
|
||||
"initial-setup-text.service"]
|
||||
services = ["initial-setup.service"]
|
||||
|
||||
# find if the unit files for the Initial Setup services are installed
|
||||
services = [name for name in services if os.path.exists(os.path.join(iutil.getSysroot(), "lib/systemd/system/", name))]
|
||||
|
Loading…
Reference in New Issue
Block a user