[lxc-devel] [lxd/master] command line: fix example in `lxc launch`

tych0 on Github lxc-bot at linuxcontainers.org
Mon Apr 25 16:16:08 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 438 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160425/e16a82d8/attachment.bin>
-------------- next part --------------
From ba1fcbf2aef1ef21531a47c054a0fab35cc9d027 Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho.andersen at canonical.com>
Date: Mon, 25 Apr 2016 11:14:17 -0500
Subject: [PATCH] command line: fix example in `lxc launch`

Let's give a CLI example that actually launches a container successfully.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 lxc/launch.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxc/launch.go b/lxc/launch.go
index 5def52d..85bd50d 100644
--- a/lxc/launch.go
+++ b/lxc/launch.go
@@ -30,7 +30,7 @@ Not specifying -p will result in the default profile.
 Specifying "-p" with no argument will result in no profile.
 
 Example:
-lxc launch ubuntu u1`)
+lxc launch ubuntu:xenial u1`)
 }
 
 func (c *launchCmd) flags() {


More information about the lxc-devel mailing list