From: Stéphane Graber Date: Tue, 23 Sep 2014 14:23:27 +0000 (-0400) Subject: download: Make --keyserver actually work X-Git-Tag: lxc-1.1.0.alpha2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cd988ccdbbb5b5794b19ad1165e48168c2dd1d9;p=thirdparty%2Flxc.git download: Make --keyserver actually work Reported-by: NeilGreenwood Signed-off-by: Stéphane Graber --- 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;;