]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
download: Make --keyserver actually work
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 23 Sep 2014 14:23:27 +0000 (10:23 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 23 Sep 2014 14:26:55 +0000 (10:26 -0400)
Reported-by: NeilGreenwood <neil.greenwood@gmail.com>
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-download.in

index 5dcbf568a17457ff4a5c156225a4fc3e663b957e..94aae8909cf32c5c26b018717e7822c4cd84c2e2 100644 (file)
@@ -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;;