[Bug 1295687] [NEW] debian template parses -c|--clean incorrectly
Robie Basak
1295687 at bugs.launchpad.net
Fri Mar 21 14:08:59 UTC 2014
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
More information about the Ubuntu-server-bugs
mailing list