mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-22 01:50:56 -07:00
Repository changes.
This commit is contained in:
parent
3e50351f7a
commit
e5543e7244
2 changed files with 7 additions and 1 deletions
|
@ -106,3 +106,9 @@ echo "Enabling cryptsetup initramfs support"
|
||||||
sed -i "s/#CRYPTSETUP=/CRYPTSETUP=y/" /etc/cryptsetup-initramfs/conf-hook || true
|
sed -i "s/#CRYPTSETUP=/CRYPTSETUP=y/" /etc/cryptsetup-initramfs/conf-hook || true
|
||||||
|
|
||||||
update-initramfs -c -u -t -k all || 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
|
||||||
|
|
2
runme.sh
2
runme.sh
|
@ -96,7 +96,7 @@ Parrot)
|
||||||
if [ $REPO != "default" ];
|
if [ $REPO != "default" ];
|
||||||
then
|
then
|
||||||
sed -i "s|archive.parrotsec.org|$REPO|g" ./build/parrot-build/auto/config
|
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
|
fi
|
||||||
|
|
||||||
cd build/parrot-build
|
cd build/parrot-build
|
||||||
|
|
Loading…
Reference in a new issue