luks: fix centos Dockerfile template

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
Adphi 2023-02-28 18:48:12 +01:00
parent 575ba47277
commit 7bc0076b1a
Signed by: adphi
GPG Key ID: 46BE4062DB2397FF
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ RUN yum install -y \
{{ if .Luks }}
RUN yum install -y cryptsetup && \
dracut --no-hostonly --regenerate-all --force --install="/usr/sbin/cryptsetup" && \
dracut --no-hostonly --regenerate-all --force --install="/usr/sbin/cryptsetup"
{{ else }}
RUN dracut --no-hostonly --regenerate-all --force
{{ end }}