stgraber@dakara:~/data/code/lxc/lxc$ lxc-start-ephemeral -o blah -d | grep 
"lxc-console" | awk '{print $NF}'
blah-psrfp_3s


Not the prettiest thing ever, but definitively doable with current 
lxc-start-ephemeral.
I won't be spending more time on lxc-start-ephemeral though as we'll have the 
new lxc-copy there soon that will take-over most if not all of it 
(lxc-start-ephemeral will likely be gone in 2.0).

So marking this fix-released as the above does work.

** Changed in: lxc (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197754

Title:
  print lxc-start-ephemeral container name in  a machine-readable way

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to