Compare commits
3 Commits
3f5aa6064b
...
4044a8e55e
Author | SHA1 | Date | |
---|---|---|---|
4044a8e55e | |||
ad1fe22d1a | |||
aa9b97dc4f |
2
chroot-commands.sh
Normal file → Executable file
2
chroot-commands.sh
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
apt-get update
|
||||||
|
|
||||||
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
|
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
|
||||||
hwclock --systohc
|
hwclock --systohc
|
||||||
|
|
||||||
|
2
install.sh
Normal file → Executable file
2
install.sh
Normal file → Executable file
@ -19,6 +19,6 @@ echo "export PATH=$PATH:/sbin/" >>$TARGET/root/.bashrc
|
|||||||
|
|
||||||
cp ./chroot-commands.sh $TARGET/root/
|
cp ./chroot-commands.sh $TARGET/root/
|
||||||
chmod +x $TARGET/root/chroot-commands.sh
|
chmod +x $TARGET/root/chroot-commands.sh
|
||||||
chroot $TARGET /root/chroot-commands.sh
|
chroot $TARGET /bin/bash -l -c '/root/chroot-commands.sh'
|
||||||
|
|
||||||
echo "Done! Should be good to reboot now and run post-install scripts."
|
echo "Done! Should be good to reboot now and run post-install scripts."
|
||||||
|
Loading…
Reference in New Issue
Block a user