Merge branch 'master' of https://github.com/juliakreger/ironic-poc
This commit is contained in:
commit
1cd41e4cd9
@ -1,7 +1,14 @@
|
||||
#!/bin/bash
|
||||
sudo apt-get -y install git
|
||||
mkdir /opt/stack
|
||||
|
||||
sudo apt-get -y install git python-pip
|
||||
sudo pip install jinja2
|
||||
|
||||
u=$(whoami)
|
||||
g=$(groups | awk '{print $1}')
|
||||
|
||||
mkdir -p /opt/stack || (sudo mkdir -p /opt/stack && chown $u:$g /opt/stack)
|
||||
cd /opt/stack
|
||||
|
||||
if [ ! -d ansible ]; then
|
||||
git clone git://github.com/ansible/ansible.git --recursive
|
||||
else
|
||||
@ -9,7 +16,10 @@ else
|
||||
git pull --rebase
|
||||
git submodule update --init --recursive
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Run the following commands to proceed: "
|
||||
echo
|
||||
echo "source env-vars"
|
||||
echo "source /opt/stack/ansible/hacking/env-setup"
|
||||
echo
|
||||
echo "source /opt/stack/ansible/hacking/env-setup to proceed"
|
||||
export IRONIC_URL=http://localhost:6385/
|
||||
export OS_AUTH_TOKEN=' '
|
||||
|
2
setup/env-vars
Normal file
2
setup/env-vars
Normal file
@ -0,0 +1,2 @@
|
||||
export IRONIC_URL=http://localhost:6385/
|
||||
export OS_AUTH_TOKEN=' '
|
@ -10,7 +10,7 @@
|
||||
vars:
|
||||
- network_interface: "virbr0"
|
||||
- ironic_db_password: aSecretPassword473z
|
||||
- mysql_password: password
|
||||
- mysql_password:
|
||||
- testing: true
|
||||
- http_boot_folder: /httpboot
|
||||
tasks:
|
||||
@ -26,6 +26,9 @@
|
||||
- python-pip
|
||||
- python-mysqldb
|
||||
- python-configparser
|
||||
- libxslt-dev
|
||||
- libssl-dev
|
||||
- libxml2-dev
|
||||
- ipxe
|
||||
- tftp-hpa
|
||||
- syslinux
|
||||
|
Loading…
Reference in New Issue
Block a user