Centos 7 / LUKS: fix ONE script removal

This commit is contained in:
fnux 2020-07-06 10:52:55 +02:00
parent c0f32f78e3
commit 9ba788e75b

View file

@ -114,7 +114,7 @@ EOF
curl -L "$ONE_CONTEXT_RPM_URL" > "/mnt$ONE_CONTEXT_RPM_PATH"
run_root dnf -y install "$ONE_CONTEXT_RPM_PATH"
run_root rm "$ONE_CONTEXT_RPM_PATH"
for script in "$DISABLED_ONE_SCRIPTS"; do
for script in $DISABLED_ONE_SCRIPTS; do
run_root rm "/etc/one-context.d/$script"
done