Public bug reported:

Usage message from /usr/share/lxc/templates/lxc-debian:

$1 -h|--help -p|--path=<path> [-a|--arch] [-r|--release=<release>]
[-c|--clean]

Parsing:

        -c|--clean)     clean=$2; shift 2;;

This eats any parameter after -c, which isn't defined to take a
parameter.

Failure case: sudo lxc-create -n sid -t debian -- -c -r sid

Expected behaviour: create a template based on sid

Actual behaviour: a template based on wheezy got created

Workaround: sudo lxc-create -n sid -t debian -- -r sid -c

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1295687

Title:
  debian template parses -c|--clean incorrectly

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to