master
root 6 years ago
parent 465cecbac8
commit 073b1ffc16

@ -13,7 +13,9 @@ echo 'locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8' | d
apt-get -y install locales
# mdadm.conf
# mdadm
apt-get -y install mdadm
#replace rescue system hostname with real hostname
mdadm --examine --scan | perl -pe 's/name\=.*?:/name='"$(cat /etc/hostname)"':/' > /etc/mdadm/mdadm.conf
@ -23,7 +25,7 @@ mdadm --examine --scan | perl -pe 's/name\=.*?:/name='"$(cat /etc/hostname)"':/'
apt-get -y install linux-image-amd64 grub-pc
update-initramfs -k all
update-initramfs -c -k all
update-grub
grub-install /dev/sda
@ -48,3 +50,5 @@ apt-get -y install docker-ce
apt-get -y install \
systemd \
dropbear \
btrfs-utils \
cryptsetup

@ -39,7 +39,7 @@ mount -t proc none "$chroot/proc"
mount -t sysfs none "$chroot/sys"
mount -o bind /dev "$chroot/dev"
cd configs
cd config
cp -a * "$chroot"
cd ..

Loading…
Cancel
Save