mirror of
https://github.com/linka-cloud/d2vm.git
synced 2024-11-25 09:06:24 +00:00
luks: fix centos Dockerfile template
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
parent
709f24b5df
commit
8c36d42e06
@ -22,7 +22,7 @@ RUN yum install -y \
|
|||||||
|
|
||||||
{{ if .Luks }}
|
{{ if .Luks }}
|
||||||
RUN yum install -y cryptsetup && \
|
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 }}
|
{{ else }}
|
||||||
RUN dracut --no-hostonly --regenerate-all --force
|
RUN dracut --no-hostonly --regenerate-all --force
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user