On 11/22/2012 08:16 AM, Natanael Copa wrote:
> The e60a8164c12d565f70071ff6b32b823dd495df9e introduced a bug that caused
> first argument passed over to the template script get lost.
> 
> This patch fixes it.
> 
> Signed-off-by: Natanael Copa <nc...@alpinelinux.org>
> ---
>  src/lxc/lxc-create.in | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in
> index e8056e9..26ec6a2 100644
> --- a/src/lxc/lxc-create.in
> +++ b/src/lxc/lxc-create.in
> @@ -137,7 +137,6 @@ while [ $# -gt 0 ]; do
>               shift
>               ;;
>              --)
> -             shift
>               break;;
>           -?)
>               usage_err "unknown option '$opt'"
> 


That's indeed an issue, on top of this, there's also that problem:

root@castiana:~/Desktop/casper/casper# lxc-create -t ubuntu -n p1 --
--arch i386
/usr/bin/lxc-create: 87: local: not in a function

It looks like "local" isn't posix shell according to a bit of googling.

That's when running under Ubuntu and Debian's default shell, dash.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to