]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix lxc-ubuntu-cloud option parsing bugs
authorSerge Hallyn <serge.hallyn@canonical.com>
Mon, 26 Nov 2012 20:08:36 +0000 (14:08 -0600)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 26 Nov 2012 20:12:26 +0000 (15:12 -0500)
commit6b1a07ba086d16cfa822caadf95eab62b70889cd
tree728c7a644b666d444cd8cff73fc852cda191a0e1
parentb917ef75223480f0fa86d47eed5951787b86a99f
fix lxc-ubuntu-cloud option parsing bugs

The -u shortopt matching --userdata was not specified, and when -L
is found shift should have been by 1 not 2 since there is no optarg.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-ubuntu-cloud.in