openstack-virtual-baremetal/bin/deploy-stack

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