1
0
Fork 0

add network-setup.sh

master
Pratham Patel 3 months ago
parent 6c425ca359
commit 4f3fa69cb4

@ -19,7 +19,8 @@ fi
DOTFILE_DIRECTORY=temp_dots
CHROOT_DIRECTORY=temp_chroot_dir
DEBIAN_VERSION=unstable
LOGIN_SCRIPT=login-script.sh
LOGIN_SCRIPT=setup-scripts/login-script.sh
NETWORK_SCRIPT=setup-scripts/network-setup.sh
# start clean
rm -rf ${CHROOT_DIRECTORY} ${DOTFILE_DIRECTORY}
@ -37,6 +38,7 @@ chroot ${CHROOT_DIRECTORY} bash chroot-setup.sh
git clone --depth 1 https://git.thefossguy.com/thefossguy/dots-vidhyaa.git ${DOTFILE_DIRECTORY}
cp ${DOTFILE_DIRECTORY}/.bashrc ${CHROOT_DIRECTORY}/etc/bash.bashrc
cp ${LOGIN_SCRIPT} ${CHROOT_DIRECTORY}/root/.bashrc
cp ${NETWORK_SCRIPT} ${CHROOT_DIRECTORY}/root/network-setup.sh
# create an image
bash mk-img.sh ${DEBIAN_VERSION}

Loading…
Cancel
Save