Creating lxc instances using ubuntu-cloud template throws warning

Bug #955935 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Fix Released
Medium
Serge Hallyn

Bug Description

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 expected

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)

Related branches

Revision history for this message
James Page (james-page) wrote :
Changed in lxc (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Serge Hallyn (serge-hallyn)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc - 0.7.5-3ubuntu38

---------------
lxc (0.7.5-3ubuntu38) precise; urgency=low

  * 0058-fixup-ubuntu-cloud:
    - fix typo in check for $debug (LP: #955935)
    - Download specified release, not always precise
    - If cloudimg rootfs.tar.gz does not exist, create one from the base
      cloudimg tar.gz. (LP: #955938)
    - Explicitly set ubuntu user's password.
    - Switch from daily to released stream (per smoser's suggestion).
 -- Serge Hallyn <email address hidden> Thu, 15 Mar 2012 17:57:10 -0500

Changed in lxc (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.