all-in-one: run the script from p-o-i after clone
Stop deploying the scripts in /tmp, and require users to git clone the repo before, instead of curl + bash command, which is unsecure and not very useful. Change-Id: I007a31f644a2a662b8ab3305454d6f1055a3e89b
This commit is contained in:
parent
642af023fe
commit
9e8634014c
@ -115,11 +115,6 @@ git clone git://git.openstack.org/openstack/puppet-openstack-integration
|
|||||||
cd puppet-openstack-integration
|
cd puppet-openstack-integration
|
||||||
./all-in-one.sh
|
./all-in-one.sh
|
||||||
```
|
```
|
||||||
or
|
|
||||||
|
|
||||||
```bash
|
|
||||||
curl -sL http://git.openstack.org/cgit/openstack/puppet-openstack-integration/plain/all-in-one.sh | bash
|
|
||||||
```
|
|
||||||
|
|
||||||
Look at [Description](#description) to see which services it will install
|
Look at [Description](#description) to see which services it will install
|
||||||
(scenario-aio).
|
(scenario-aio).
|
||||||
|
@ -27,10 +27,6 @@
|
|||||||
# $ cd puppet-openstack-integration
|
# $ cd puppet-openstack-integration
|
||||||
# $ ./all-in-one.sh
|
# $ ./all-in-one.sh
|
||||||
#
|
#
|
||||||
# or
|
|
||||||
#
|
|
||||||
# $ curl -sL http://git.openstack.org/cgit/openstack/puppet-openstack-integration/plain/all-in-one.sh | bash
|
|
||||||
#
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@ -38,11 +34,6 @@ if [ -n "$DEBUG" ]; then
|
|||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prepare puppet-openstack-integration repository
|
|
||||||
rm -rf /tmp/puppet-openstack-integration
|
|
||||||
git clone git://git.openstack.org/openstack/puppet-openstack-integration /tmp/puppet-openstack-integration
|
|
||||||
cd /tmp/puppet-openstack-integration
|
|
||||||
|
|
||||||
export SCENARIO=scenario-aio
|
export SCENARIO=scenario-aio
|
||||||
export SCRIPT_DIR=$(cd `dirname $0` && pwd -P)
|
export SCRIPT_DIR=$(cd `dirname $0` && pwd -P)
|
||||||
source $SCRIPT_DIR/functions
|
source $SCRIPT_DIR/functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user