[Bug 988301] [NEW] lxc-ubuntu fails if no name is provided
Thomas Herve
988301 at bugs.launchpad.net
Wed Apr 25 12:46:23 UTC 2012
Public bug reported:
If I call lxc-ubuntu without providing the name parameter, it fails
because some parameters get shifted in the script:
/usr/lib/lxc/templates/lxc-ubuntu -p vm
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/precise/rootfs-i386 ...
Copy /var/cache/lxc/precise/rootfs-i386 to vm/rootfs ...
Copying rootfs to vm/rootfs ...
/usr/lib/lxc/templates/lxc-ubuntu: line 280: [: =: unary operator expected
/usr/lib/lxc/templates/lxc-ubuntu: line 285: [: =: unary operator expected
grep: vm/config: No such file or directory
/usr/lib/lxc/templates/lxc-ubuntu: line 454: [: -eq: unary operator expected
Passing -n foo doesn't produce that error.
** 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/988301
Title:
lxc-ubuntu fails if no name is provided
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/988301/+subscriptions
More information about the Ubuntu-server-bugs
mailing list