Commit 56d4fa8b authored by Benjamin Slade's avatar Benjamin Slade

fix filename

parent a3c544a3
#!/bin/bash
for i in /dev /dev/pts /proc /sys
do
echo -n "mount $i..."
mount -B $i ${TARGET}$i
echo 'done!'
done
cp /etc/hostid /mnt/etc/ # copy hostid onto actual system
cp -p /etc/resolv.conf ${TARGET}/etc/
# copy cryptuuid & luksname into chroot location
echo "export CRYPTUUID=${CRYPTUUID}" > /mnt/importvars.sh
echo "export LUKSNAME=${LUKSNAME}" >> /mnt/importvars.sh
echo "export ZPOOLNAME=${ZPOOLNAME}" >> /mnt/importvars.sh
cp 06-config-inside-chroot.sh /mnt/
chroot /mnt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment