update to hacking_api_prereq function

This commit is contained in:
Dewalt 2023-08-04 14:50:03 -05:00
parent 9a4ac8d64e
commit 752541a563
1 changed files with 2 additions and 1 deletions

View File

@ -1382,7 +1382,7 @@ hacking_api_create_cleanupsh() {
echo " *) exit ;;" >> $cleanup_script
echo " esac" >> $cleanup_script
chmod +x cleanup.sh
startup_script="start-api-hacking.sh"
echo -e "\n $greenplus Creating start-api-hacking.sh"
echo -e "#!/bin/bash" > $startup_script
@ -1465,6 +1465,7 @@ hacking_api_prereq() {
chown -R $finduser:$finduser /home/$finduser/labs
cd /home/$finduser/labs/crAPI/deploy/docker
fi
chmod -R 777 $HOME/peh/labs $HOMD/peh/labs/*
echo -e "\n $greenplus Please cd $PWD"
echo -e " and run the following command : sudo docker-compose up "
}