Deprecate instack-virt-setup

Let's go ahead and deprecate instack-virt-setup in Ocata. Then we can
see about removing it in a future release.

Change-Id: I22de582de69c15eb74d4de09c3a2d7299aee8f3f
This commit is contained in:
James Slagle 2017-01-25 13:49:27 -05:00
parent b1dfcb9d29
commit 84f58a17fe
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
---
deprecations:
- the instack-virt-setup script has been deprecated.

View File

@ -1,5 +1,12 @@
#!/bin/bash
echo
echo "#######################################################################"
echo "WARNING: instack-virt-setup is DEPRECATED in Ocata and will be removed "
echo "in a future release"
echo "#######################################################################"
echo
if [ $EUID -eq 0 ]; then
echo "This script cannot be run as root."
exit 1