fickit: Handle raid and non-raid setup
This commit is contained in:
parent
f61b0a8e47
commit
152bbe178f
5 changed files with 94 additions and 31 deletions
|
|
@ -12,9 +12,9 @@ init:
|
|||
- nemunaire/mdadm:3886edd37c79d5f8000e4f3c4bacaff1f6302aa3
|
||||
|
||||
onboot:
|
||||
# - name: mod
|
||||
# image: linuxkit/modprobe:1b59b4f2ebb877085ea0d8d3a41cf06f64c09a15
|
||||
# command: ["/bin/sh", "-c", "modprobe e1000e"]
|
||||
- name: mod
|
||||
image: linuxkit/modprobe:1b59b4f2ebb877085ea0d8d3a41cf06f64c09a15
|
||||
command: ["/bin/sh", "-c", "modprobe xhci_pci ahci intel_lpss_pci i2c_i801 megaraid_sas tg3 bnxt_en"]
|
||||
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:bdc99eeedc224439ff237990ee06e5b992c8c1ae
|
||||
|
|
@ -24,10 +24,10 @@ onboot:
|
|||
# Filesystem
|
||||
- name: swap
|
||||
image: linuxkit/swap:77305236719ed7ab4be0f3bccc179c583fe7f5ff
|
||||
command: ["/sbin/swapon", "/dev/md1"]
|
||||
command: ["/sbin/swapon", "/dev/sda2"]
|
||||
- name: dm-crypt
|
||||
image: linuxkit/dm-crypt:908d3a270650aff7388092a307673c44d86e1ed0
|
||||
command: ["/usr/bin/crypto", "-l", "crypt_fic", "/dev/md0"]
|
||||
command: ["/usr/bin/crypto", "-l", "crypt_fic", "/dev/sda3"]
|
||||
- name: mount
|
||||
image: linuxkit/mount:422b219bb1c7051096126ac83e6dcc8b2f3f1176
|
||||
command: ["/usr/bin/mountie", "-device", "/dev/mapper/crypt_fic", "/var/lib/fic" ]
|
||||
|
|
|
|||
Reference in a new issue