diff --git a/templates/centos.Dockerfile b/templates/centos.Dockerfile index 292f588..77a699a 100644 --- a/templates/centos.Dockerfile +++ b/templates/centos.Dockerfile @@ -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 }}