[lxc-devel] [lxc/master] lxc-oci: correctly handle --url

flx42 on Github lxc-bot at linuxcontainers.org
Fri Nov 10 06:57:05 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 367 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20171110/911b78f3/attachment.bin>
-------------- next part --------------
From 960f15bffef79b4359957e541250d671089f8181 Mon Sep 17 00:00:00 2001
From: Felix Abecassis <fabecassis at nvidia.com>
Date: Thu, 9 Nov 2017 22:49:35 -0800
Subject: [PATCH] lxc-oci: correctly handle --url

Fix: #1898
Signed-off-by: Felix Abecassis <fabecassis at nvidia.com>
---
 templates/lxc-oci.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-oci.in b/templates/lxc-oci.in
index c2cfb351a..4c4d10393 100755
--- a/templates/lxc-oci.in
+++ b/templates/lxc-oci.in
@@ -118,7 +118,7 @@ EOF
     return 0
 }
 
-options=$(getopt -o u:h -l help,name:,path:,\
+options=$(getopt -o u:h -l help,url:,name:,path:,\
 rootfs:,mapped-uid:,mapped-gid: -- "$@")
 
 if [ $? -ne 0 ]; then


More information about the lxc-devel mailing list