Skip to content

Commit 53a04ff

Browse files
author
epwn
committed
Add prepare baremetal steps
Adds steps to prepare baremetals before running site.yml Note: cleaned up some code
1 parent 33c6830 commit 53a04ff

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

depl/pre/bootstrap-deployer

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# check for service name and git repo supplied on CLI
44
if [ "$#" -ne 2 ]; then
5-
echo -e "Not enough args given. Please use the form:\n./bootstrap-deployer <service name> <git repo clone link>"
6-
echo -e "Example:\n./bootstrap-deployer CullenTaylor https://github.com/USER/REPO"
7-
exit
5+
echo -e "Not enough args given. Please use the form:\n./bootstrap-deployer <service name> <git repo clone link>"
6+
echo -e "Example:\n./bootstrap-deployer CullenTaylor https://github.com/USER/REPO"
7+
exit
88
fi
99

1010
# install prerequisite packages
@@ -16,7 +16,7 @@ echo -e "export WORKON_HOME=$HOME/.virtualenvs\nexport PROJECT_HOME=/root/develo
1616
source ~/.bashrc
1717

1818
if [ ! -d "/root/deployment" ]; then
19-
mkdir /root/deployment
19+
mkdir /root/deployment
2020
fi
2121

2222
cd /root/deployment

vm/rebuild/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ do
3737
fi
3838
done
3939

40-
# the biz
40+
# Allow for unauthenticated packages
4141
for arg in "$@"
4242
do
4343
if [[ "$arg" != "-p" ]]; then

0 commit comments

Comments
 (0)