From 3cd988ccdbbb5b5794b19ad1165e48168c2dd1d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Tue, 23 Sep 2014 10:23:27 -0400 Subject: [PATCH] download: Make --keyserver actually work MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported-by: NeilGreenwood Signed-off-by: Stéphane Graber --- templates/lxc-download.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/lxc-download.in b/templates/lxc-download.in index 5799de826..73704bac0 100644 --- a/templates/lxc-download.in +++ b/templates/lxc-download.in @@ -215,7 +215,7 @@ EOF } options=$(getopt -o d:r:a:hl -l dist:,release:,arch:,help,list,variant:,\ -server:,keyid:,no-validate,flush-cache,force-cache,name:,path:,\ +server:,keyid:,keyserver:,no-validate,flush-cache,force-cache,name:,path:,\ rootfs:,mapped-uid:,mapped-gid: -- "$@") if [ $? -ne 0 ]; then @@ -234,6 +234,7 @@ while :; do --variant) DOWNLOAD_VARIANT=$2; shift 2;; --server) DOWNLOAD_SERVER=$2; shift 2;; --keyid) DOWNLOAD_KEYID=$2; shift 2;; + --keyserver) DOWNLOAD_KEYSERVER=$2; shift 2;; --no-validate) DOWNLOAD_VALIDATE="false"; shift 1;; --flush-cache) DOWNLOAD_FLUSH_CACHE="true"; shift 1;; --force-cache) DOWNLOAD_FORCE_CACHE="true"; shift 1;; -- 2.47.2