]> 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:25:47 +0000 (10:25 -0400)
Reported-by: NeilGreenwood <neil.greenwood@gmail.com>
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-download.in

index 5799de8267d0f8c838e88a6797e4f989fe2cfbad..73704bac0ee24499b165c1451d33c0fbf18cdcb5 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;;