bifrost/step1/env-setup.sh
Julia Kreger e53131c071 File Downloads for CoreOS and Ubuntu and misc fixes
Added file download support along with an automatic skip if the file
is already present, and semi-configurable httpboot folder path.

Corrected minor typo in env-setup.sh.
2015-02-25 18:33:11 -05:00

16 lines
382 B
Bash

#!/bin/bash
sudo apt-get -y install git
mkdir /opt/stack
cd /opt/stack
if [ ! -d ansible ]; then
git clone git://github.com/ansible/ansible.git --recursive
else
cd ansible
git pull --rebase
git submodule update --init --recursive
fi
echo
echo "source /opt/stack/ansible/hacking/env-setup to proceed"
export IRONIC_URL=http://localhost:6385/
export OS_AUTH_TOKEN=' '