[Bug 1197754] Re: print lxc-start-ephemeral container name in a machine-readable way

Stéphane Graber stgraber at stgraber.org
Mon Nov 9 17:50:32 UTC 2015


stgraber at 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
Server Team, which is subscribed to lxc in 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



More information about the Ubuntu-server-bugs mailing list