2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2025-06-23 13:52:26 +00:00

luks: do not support ubuntu < 20.04 and debian < 10

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2023-03-01 13:29:10 +01:00
committed by Adphi
parent 8c36d42e06
commit fb33b2a74e
9 changed files with 44 additions and 5 deletions

View File

@ -45,5 +45,6 @@ iface eth0 inet dhcp\n\
{{- if .Luks }}
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cryptsetup-initramfs && \
update-initramfs -u -v
echo "CRYPTSETUP=y" >> /etc/cryptsetup-initramfs/conf-hook && \
update-initramfs -u -v
{{- end }}

View File

@ -43,5 +43,5 @@ iface eth0 inet dhcp\n\
{{- if .Luks }}
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cryptsetup-initramfs && \
update-initramfs -u -v
update-initramfs -u -v
{{- end }}