[Bug 955935] [NEW] Creating lxc instances using ubuntu-cloud template throws warning

James Page james.page at ubuntu.com
Thu Mar 15 12:06:20 UTC 2012

Public bug reported:

When running:

sudo lxc-create -n precise-amd64-template -t ubuntu-cloud -- -r precise
-a amd64 -S ~/.ssh/id_rsa.pub

I get the following error displayed:

/usr/lib/lxc/templates/lxc-ubuntu-cloud: line 180: [: 0: unary operator

Still works but ugly....

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu36
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Thu Mar 15 11:55:04 2012
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: amd64 apport-bug precise

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.

  Creating lxc instances using ubuntu-cloud template throws warning

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list