fickit: crypt main partition
This commit is contained in:
parent
0c8bc261d9
commit
56c6f282c4
4 changed files with 22 additions and 8 deletions
|
|
@ -23,10 +23,13 @@ onboot:
|
|||
# Filesystem
|
||||
- name: swap
|
||||
image: linuxkit/swap:v0.7
|
||||
command: ["/sbin/swapon", "/dev/sda2", "/dev/sdb2"]
|
||||
command: ["/sbin/swapon", "/dev/md1"]
|
||||
- name: dm-crypt
|
||||
image: linuxkit/dm-crypt:v0.7
|
||||
command: ["/usr/bin/crypto", "-l", "crypt_fic", "/dev/md0"]
|
||||
- name: mount
|
||||
image: linuxkit/mount:v0.7
|
||||
command: ["/usr/bin/mountie", "-device", "/dev/md0", "/var/lib/fic" ]
|
||||
command: ["/usr/bin/mountie", "-device", "/dev/mapper/crypt_fic", "/var/lib/fic" ]
|
||||
|
||||
# Network
|
||||
# - name: dhcpcd
|
||||
|
|
@ -373,6 +376,10 @@ files:
|
|||
COMMIT
|
||||
mode: "0440"
|
||||
|
||||
- path: etc/dm-crypt/key
|
||||
source: configs/dm-crypt.key
|
||||
mode: "0440"
|
||||
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
||||
|
|
|
|||
Reference in a new issue