Public bug reported:

lxc     0.9.0-0ubuntu3.3

Running "lxc-create -t ubuntu-cloud -n test -- -i test" creates a Lucid
container. I expected it to be Raring (when on Raring).

Indeed, on Precise, I believe that you'd get a Precise container.

The culprit appears to be http://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/saucy/lxc/saucy/view/head:/templates/lxc-ubuntu-
cloud.in#L145 where this is hardcoded, and Raring and Saucy have not
been added.

Better, this should be fixed in a more general way so it does not need
to be fixed every release.

Workaround:

Use "lxc-create -t ubuntu-cloud -n test -- -i test -r raring" to
explicitly specify the release required.

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

** Description changed:

  lxc     0.9.0-0ubuntu3.3
  
  Running "lxc-create -t ubuntu-cloud -n test -- -i test" creates a Lucid
  container. I expected it to be Raring.
  
  Indeed, on Precise, I believe that you'd get a Precise container.
  
  The culprit appears to be http://bazaar.launchpad.net/~ubuntu-
  branches/ubuntu/saucy/lxc/saucy/view/head:/templates/lxc-ubuntu-
  cloud.in#L145 where this is hardcoded, and Raring and Saucy have not
  been added.
  
  Better, this should be fixed in a more general way so it does not need
  to be fixed every release.
+ 
+ Workaround:
+ 
+ Use "lxc-create -t ubuntu-cloud -n test -- -i test -r raring" to
+ explicitly specify the release required.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197303

Title:
  lxc ubuntu-cloud template defaults to lucid when on >= raring

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1197303/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to