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