|
|
@ -22,7 +22,7 @@ apt-get -y install locales
|
|
|
|
|
|
|
|
|
|
|
|
### boot
|
|
|
|
### boot
|
|
|
|
|
|
|
|
|
|
|
|
apt-get -y install mdadm cryptsetup systemd systemd-sysv dropbear btrfs-tools
|
|
|
|
apt-get -y install mdadm cryptsetup systemd systemd-sysv dropbear btrfs-tools firmware-linux
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|