|
|
@ -18,7 +18,7 @@ apt-get -y install locales
|
|
|
|
|
|
|
|
|
|
|
|
### boot
|
|
|
|
### boot
|
|
|
|
|
|
|
|
|
|
|
|
apt-get -y install mdadm cryptsetup systemd systemd-sysv dropbear
|
|
|
|
apt-get -y install mdadm cryptsetup systemd systemd-sysv dropbear btrfs-tools
|
|
|
|
|
|
|
|
|
|
|
|
# generate minimal mdadm.conf
|
|
|
|
# generate minimal mdadm.conf
|
|
|
|
mdadm --examine --scan | perl -pe 's/.*\/dev\/md\/?([0-9]+) .*UUID\=(.+?) .*/ARRAY \/dev\/md$1 UUID=$2/' > /etc/mdadm/mdadm.conf
|
|
|
|
mdadm --examine --scan | perl -pe 's/.*\/dev\/md\/?([0-9]+) .*UUID\=(.+?) .*/ARRAY \/dev\/md$1 UUID=$2/' > /etc/mdadm/mdadm.conf
|
|
|
|