[lxc-devel] [lxd/master] init: Clarifies question about using an existing empty disk

tomponline on Github lxc-bot at linuxcontainers.org
Tue Oct 20 13:35:11 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 376 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20201020/30f9668c/attachment.bin>
-------------- next part --------------
From 78afd4d6cc3922df13570f863ed7056eb8b71953 Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at canonical.com>
Date: Tue, 20 Oct 2020 14:34:06 +0100
Subject: [PATCH] lxd/main/init/interactive: Clarifies question about using an
 existing empty disk

Fixes #8060

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>
---
 lxd/main_init_interactive.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/main_init_interactive.go b/lxd/main_init_interactive.go
index 5fa8f755a6..dfc8f0c0de 100644
--- a/lxd/main_init_interactive.go
+++ b/lxd/main_init_interactive.go
@@ -554,7 +554,7 @@ func (c *cmdInit) askStoragePool(config *cmdInitData, d lxd.InstanceServer, pool
 
 				// Ask for the name of the cluster
 				pool.Config["source"] = cli.AskString("Name of the CEPHfs volume: ", "", nil)
-			} else if cli.AskBool("Would you like to use an existing empty disk or partition? (yes/no) [default=no]: ", "no") {
+			} else if cli.AskBool("Would you like to use an existing empty block device (e.g. a disk or partition)? (yes/no) [default=no]: ", "no") {
 				deviceExists := func(path string) error {
 					if !shared.IsBlockdevPath(path) {
 						return fmt.Errorf("'%s' is not a block device", path)


More information about the lxc-devel mailing list