[lxc-devel] [lxd/master] lxc-to-lxd: Typo in description of --move-rootfs
lfaraone on Github
lxc-bot at linuxcontainers.org
Sun Mar 12 19:41:35 UTC 2017
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 490 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170312/7cd4409c/attachment.bin>
-------------- next part --------------
From 7141b75df621473aa6c868d8abecadbeae9183e1 Mon Sep 17 00:00:00 2001
From: Luke Faraone <luke at faraone.cc>
Date: Sun, 12 Mar 2017 19:38:39 +0000
Subject: [PATCH] lxc-to-lxd: Typo in description of --move-rootfs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The description of the `--move-rootfs` argument swaps the effect of the
flag — it actually moves the container, rather than copying it.
Signed-off-by: Luke W Faraone <luke at faraone.cc>
---
scripts/lxc-to-lxd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lxc-to-lxd b/scripts/lxc-to-lxd
index a542132..7224cc1 100755
--- a/scripts/lxc-to-lxd
+++ b/scripts/lxc-to-lxd
@@ -576,7 +576,7 @@ parser.add_argument("--all", action="store_true", default=False,
parser.add_argument("--delete", action="store_true", default=False,
help="Delete the source container")
parser.add_argument("--move-rootfs", action="store_true", default=False,
- help="Copy the container rootfs rather than moving it")
+ help="Move the container rootfs rather than copying it")
parser.add_argument("--lxcpath", type=str, default=False,
help="Alternate LXC path")
parser.add_argument("--lxdpath", type=str, default="/var/lib/lxd",
More information about the lxc-devel
mailing list