master
root 6 years ago
parent 38dea4bf82
commit 90e0c74046

@ -2,5 +2,4 @@
set -e
echo 'grub-pc/install_devices multiselect /dev/sda, /dev/sdb' | debconf-set-selections

@ -23,7 +23,9 @@ mdadm --examine --scan | perl -pe 's/name\=.*?:/name='"$(cat /etc/hostname)"':/'
# boot
apt-get -y install linux-image-amd64 grub-pc
/grub.sh
apt-get -y install linux-image-amd64
apt-get -y install grub-pc
# Docker

@ -39,10 +39,18 @@ mount -t proc none "$chroot/proc"
mount -t sysfs none "$chroot/sys"
mount -o bind /dev "$chroot/dev"
# copy fstab, crypttab, ...
cd config
cp -a * "$chroot"
cd ..
# copy parted.sh, grub.sh, ...
cd "hardware/${1}"
cp -a * "$chroot"
cd ../..
# copy a couple of other files
cp -a docker.key \
post-debootstrap-installer.sh \
"$chroot"

Loading…
Cancel
Save