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
Bugs, which is subscribed to 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

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

Reply via email to