openstack-virtual-baremetal/bin/deploy-stack
Ben Nemec bcd5371358 Deprecate deploy-* scripts
deploy.py replaces these with a more functional and better tested
CLI.  Also removed deploy-controller entirely since that was only
a thing that existed for a little while and probably doesn't work
now anyway.
2016-04-18 13:26:27 -05:00

10 lines
278 B
Bash
Executable File

#!/bin/bash
echo 'WARNING: This script is deprecated. deploy.py should now be used instead.'
op=create
if heat stack-list | grep " baremetal "; then
op=update
fi
heat stack-$op -f templates/virtual-baremetal.yaml -e templates/resource-registry.yaml baremetal -e env.yaml