pass hardware setup to post-debootstrap-installer.sh for grub.sh call

master
root 6 years ago
parent 74289a6571
commit 8c89dff295

@ -27,7 +27,7 @@ cat /hardware-setup/authorized_keys/* > /etc/dropbear-initramfs/authorized_keys
apt-get -y install linux-image-amd64
DEBIAN_FRONTEND=noninteractive apt-get -y install grub-pc
/hardware-setup/grub.sh
"/hardware-setup/hardware/$1/grub.sh"
update-grub
### users

@ -48,6 +48,6 @@ echo "$2" > "$chroot/etc/hostname"
mkdir "$chroot/hardware-setup"
cp -a * "$chroot/hardware-setup"
chroot "$chroot" /hardware-setup/post-debootstrap-installer.sh
chroot "$chroot" /hardware-setup/post-debootstrap-installer.sh "$1"
rm -r "$chroot/hardware-setup"

Loading…
Cancel
Save