summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Pepple <ken.pepple@gmail.com>2011-04-07 17:38:24 -0700
committerKen Pepple <ken.pepple@gmail.com>2011-04-07 17:38:24 -0700
commit86ffed4e988025023b570b9e6e87f89b6075c7b0 (patch)
tree8ed49669fcc7c1c028946ac905dd65172dd6afd0
parent3c67f142e5587641e45fcf05d98fddffa0d67d9f (diff)
reminde admins of --purge option
-rwxr-xr-xbin/nova-manage6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index e63898979..73da83767 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -841,8 +841,10 @@ class InstanceTypeCommands(object):
print e
sys.exit(1)
except exception.ApiError, e:
- print "Please ensure instance_type name and flavor id are unique"
- print "Here are the already defined instance_type names and flavorids:"
+ print "\n\nPlease ensure instance_type name and flavor id are unique."
+ print "To complete remove a instance_type, use the --purge flag:"
+ print "\n # nova-manage instance_type delete <name> --purge\n"
+ print "Currently defined instance_type names and flavorids:"
self.list("--all")
sys.exit(2)
except: