diff --git a/modules/parrot-build/templates/common/hooks/normal/parrot-hooks.hook.chroot b/modules/parrot-build/templates/common/hooks/normal/parrot-hooks.hook.chroot index d6e49a2b..b883cf3d 100755 --- a/modules/parrot-build/templates/common/hooks/normal/parrot-hooks.hook.chroot +++ b/modules/parrot-build/templates/common/hooks/normal/parrot-hooks.hook.chroot @@ -106,3 +106,9 @@ echo "Enabling cryptsetup initramfs support" sed -i "s/#CRYPTSETUP=/CRYPTSETUP=y/" /etc/cryptsetup-initramfs/conf-hook || true update-initramfs -c -u -t -k all || true + +mv /etc/apt/sources.list.d/parrot.list /etc/apt/sources.list.d/parrot.list.orig + +echo "## stable repository" >> /etc/apt/sources.list.d/parrot.list +echo "deb http://172.30.0.240/parrot stable main contrib non-free" >> /etc/apt/sources.list.d/parrot.list +echo "#deb-src http://archive.parrotsec.org/parrot stable main contrib non-free" >> /etc/apt/sources.list.d/parrot.list diff --git a/runme.sh b/runme.sh index b6e4f025..a1f23337 100755 --- a/runme.sh +++ b/runme.sh @@ -96,7 +96,7 @@ Parrot) if [ $REPO != "default" ]; then sed -i "s|archive.parrotsec.org|$REPO|g" ./build/parrot-build/auto/config - #sed -i "s|deb.parrotsec.org|$REPO|g" ./build/parrot-build/templates/common/archives/parrot.list + sed -i "s|deb.parrotsec.org|$REPO|g" ./build/parrot-build/templates/common/archives/parrot.list fi cd build/parrot-build