From 07aa88b09da0c19f2e7c15603b954ff586aff0be Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 26 Jun 2006 10:12:38 +0000 Subject: [PATCH] 2006-06-26 10:12:38 by steve We don't need to complete IP addresses for invoking `xt-install-image`. --- misc/xen-tools | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/misc/xen-tools b/misc/xen-tools index b2b96fc..a3f9d17 100644 --- a/misc/xen-tools +++ b/misc/xen-tools @@ -18,7 +18,7 @@ # -- # http://www.steve.org.uk # -# $Id: xen-tools,v 1.30 2006-06-23 18:35:40 steve Exp $ +# $Id: xen-tools,v 1.31 2006-06-26 10:12:38 steve Exp $ # @@ -319,7 +319,7 @@ complete -F _xt-customize-image xt-customize-image # _xt-install-image() { - local cur prev ip roles dists + local cur prev dists COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} @@ -327,10 +327,6 @@ _xt-install-image() opts='--copy --cache --debootstrap --dist --help --location --manual --mirror --rpmstrap --tar --verbose --version' - # - # Complete the initial part of the IP in the configuration file. - ip=`grep ^gateway /etc/xen-tools/xen-tools.conf | awk -F'= ' '{print $2}'` - # # Available distributions, from rpmstrap #