mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-06-24 22:22:26 +00:00
luks: implements support for debian like distibutions
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
@ -7,7 +7,7 @@ RUN apt-get update -y && \
|
||||
linux-image-virtual \
|
||||
initramfs-tools \
|
||||
{{- if .Luks }}
|
||||
cryptsetup \
|
||||
cryptsetup-initramfs \
|
||||
{{- end }}
|
||||
systemd-sysv \
|
||||
systemd \
|
||||
@ -43,3 +43,7 @@ allow-hotplug eth0\n\
|
||||
iface eth0 inet dhcp\n\
|
||||
' > /etc/network/interfaces
|
||||
{{ end }}
|
||||
|
||||
{{- if .Luks }}
|
||||
RUN update-initramfs -u -v
|
||||
{{- end }}
|
||||
|
Reference in New Issue
Block a user