fix: add ConditionFirstBoot= and --force parameter
This commit is contained in:
1 parent
4b105674e4
commit
1071d75794
1 file changed
+4
-1
+4
-1
@@ -371,9 +371,12 @@ locale="en_US.UTF-8"
|
|||||||
timezone="Europe/Berlin"
|
timezone="Europe/Berlin"
|
||||||
|
|
||||||
cat << EOF > "${service_dir}/install.conf"
|
cat << EOF > "${service_dir}/install.conf"
|
||||||
|
[Unit]
|
||||||
|
ConditionFirstBoot=
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=
|
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]
|
[Install]
|
||||||
WantedBy=sysinit.target
|
WantedBy=sysinit.target
|
||||||
|
|||||||
Reference in new issue
Block a user