Merge branch 'master' of https://github.com/juliakreger/ironic-poc
This commit is contained in:
commit
1cd41e4cd9
@ -1,7 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/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
|
cd /opt/stack
|
||||||
|
|
||||||
if [ ! -d ansible ]; then
|
if [ ! -d ansible ]; then
|
||||||
git clone git://github.com/ansible/ansible.git --recursive
|
git clone git://github.com/ansible/ansible.git --recursive
|
||||||
else
|
else
|
||||||
@ -9,7 +16,10 @@ else
|
|||||||
git pull --rebase
|
git pull --rebase
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Run the following commands to proceed: "
|
||||||
|
echo
|
||||||
|
echo "source env-vars"
|
||||||
|
echo "source /opt/stack/ansible/hacking/env-setup"
|
||||||
echo
|
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:
|
vars:
|
||||||
- network_interface: "virbr0"
|
- network_interface: "virbr0"
|
||||||
- ironic_db_password: aSecretPassword473z
|
- ironic_db_password: aSecretPassword473z
|
||||||
- mysql_password: password
|
- mysql_password:
|
||||||
- testing: true
|
- testing: true
|
||||||
- http_boot_folder: /httpboot
|
- http_boot_folder: /httpboot
|
||||||
tasks:
|
tasks:
|
||||||
@ -26,6 +26,9 @@
|
|||||||
- python-pip
|
- python-pip
|
||||||
- python-mysqldb
|
- python-mysqldb
|
||||||
- python-configparser
|
- python-configparser
|
||||||
|
- libxslt-dev
|
||||||
|
- libssl-dev
|
||||||
|
- libxml2-dev
|
||||||
- ipxe
|
- ipxe
|
||||||
- tftp-hpa
|
- tftp-hpa
|
||||||
- syslinux
|
- syslinux
|
||||||
|
Loading…
Reference in New Issue
Block a user