forked from dataprolet/Arch-Linux-Installer
fix: add ConditionFirstBoot= and --force parameter
This commit is contained in:
+4
-1
@@ -371,9 +371,12 @@ locale="en_US.UTF-8"
|
||||
timezone="Europe/Berlin"
|
||||
|
||||
cat << EOF > "${service_dir}/install.conf"
|
||||
[Unit]
|
||||
ConditionFirstBoot=
|
||||
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/systemd-firstboot --root="${rootdir}" --keymap="${keymap}" --locale="${locale}" --timezone="${timezone}" --hostname="${host}"
|
||||
ExecStart=/usr/bin/systemd-firstboot --root="${rootdir}" --keymap="${keymap}" --locale="${locale}" --timezone="${timezone}" --hostname="${host}" --force
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
||||
Reference in New Issue
Block a user