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"
|
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