From b22ec22336def07a0678fd0c548fb87ea48c6eab Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Tue, 6 Mar 2012 00:33:37 +0000 Subject: Add human-friendly ID support. Allows a user to interact with certain models (image, flavors, and servers currently) using a human-friendly identifier which is a slugified form of the model name. Example: nova boot --image debian-6-squeeze --flavor 256mb-instance myinst Change-Id: I43dbedac3493d010c1ec9ba8b8bb1007ff7ac499 --- tools/nova.bash_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/nova.bash_completion') diff --git a/tools/nova.bash_completion b/tools/nova.bash_completion index 58565d02..90d16c0c 100644 --- a/tools/nova.bash_completion +++ b/tools/nova.bash_completion @@ -7,8 +7,8 @@ _nova() opts="$(nova bash_completion)" - UUID_CACHE=~/.novaclient/*/*-uuid-cache - opts+=" "$(cat $UUID_CACHE 2> /dev/null | tr '\n' ' ') + COMPLETION_CACHE=~/.novaclient/*/*-cache + opts+=" "$(cat $COMPLETION_CACHE 2> /dev/null | tr '\n' ' ') COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) } -- cgit v1.2.1