Skip to content

Commit

Permalink
Merge pull request coreos#213 from dustymabe/dusty-no-emergency-override
Browse files Browse the repository at this point in the history
systemd: remove SYSTEMD_SULOGIN_FORCE override for emergency.service
  • Loading branch information
cgwalters authored Apr 16, 2020
2 parents 825661e + a208c86 commit cb23f6f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions systemd/coreos-installer-generator
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,4 @@ if [ -n "$(karg coreos.inst.install_dev)" ]; then
if ! karg_bool coreos.inst.skip_reboot; then
touch /run/coreos-installer-reboot
fi

# Allow emergency.service to execute even with locked root account
mkdir -p /etc/systemd/system/emergency.service.d
echo -e '[Service]\nEnvironment=SYSTEMD_SULOGIN_FORCE=1\n' \
> /etc/systemd/system/emergency.service.d/override.conf
fi

0 comments on commit cb23f6f

Please sign in to comment.