image: remove bash options from sourced scripts

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2022-11-17 10:24:38 +01:00
parent 4847b71faa
commit cca02597c8
3 changed files with 4 additions and 5 deletions

View File

@ -3,8 +3,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-only
set -euo pipefail
shopt -s inherit_errexit
# Note: This script is sourced.
export PATH=/run/state/bin:${PATH}
export KUBECONFIG=/etc/kubernetes/admin.conf

View File

@ -3,9 +3,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-only
# warning: file is loaded by dracut, so default "set" and "shopt" options are not set
# set -euo pipefail
# shopt -s inherit_errexit
# Note: This script is sourced.
depends() {
echo systemd

View File

@ -3,6 +3,8 @@
#
# SPDX-License-Identifier: AGPL-3.0-only
# Note: This script is sourced.
depends() {
# expands to: systemd systemd-hostnamed systemd-networkd systemd-resolved systemd-timedated systemd-timesyncd
echo systemd-network-management