Fix Vagrantfile for Rally repo changes
Change-Id: Ifb026caa7fbbf0f7162b8400e97fe818d2783156
This commit is contained in:
parent
4a68605bc8
commit
3e3d4681b7
16
contrib/vagrant/Vagrantfile
vendored
16
contrib/vagrant/Vagrantfile
vendored
@ -87,21 +87,7 @@ for f in lib/* extras.d/* exercises/*; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Clone Rally
|
# Link in any Rally Plugins
|
||||||
if [ ! -d "/opt/stack/rally" ]; then
|
|
||||||
git clone https://git.openstack.org/openstack/rally.git /opt/stack/rally
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install Rally DevStack extension
|
|
||||||
cd /opt/stack/rally/contrib/devstack
|
|
||||||
|
|
||||||
for f in lib/* extras.d/*; do
|
|
||||||
if [ ! -f "/home/vagrant/devstack/$f" ]; then
|
|
||||||
ln -fs /opt/stack/rally/contrib/devstack/$f -t /home/vagrant/devstack/$(dirname $f)
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Link in the Rally Plugins
|
|
||||||
mkdir /home/vagrant/.rally
|
mkdir /home/vagrant/.rally
|
||||||
ln -s /opt/stack/designate/rally-scenarios/plugins /home/vagrant/.rally/plugins
|
ln -s /opt/stack/designate/rally-scenarios/plugins /home/vagrant/.rally/plugins
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user