[lxc-devel] [lxd/master] lxd/init: Don't setup a remote storage pool by default

stgraber on Github lxc-bot at linuxcontainers.org
Wed Apr 4 00:31:04 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180404/898427fa/attachment.bin>
-------------- next part --------------
From 5bccf87de3ba091e441440afb12bc16b5ba24bce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 3 Apr 2018 20:30:41 -0400
Subject: [PATCH] lxd/init: Don't setup a remote storage pool by default
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.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 994f472b9..898632010 100644
--- a/lxd/main_init_interactive.go
+++ b/lxd/main_init_interactive.go
@@ -375,7 +375,7 @@ func (c *cmdInit) askStorage(config *initData, d lxd.ContainerServer) error {
 			}
 		}
 
-		if cli.AskBool("Do you want to configure a new remote storage pool (yes/no) [default=yes]? ", "yes") {
+		if cli.AskBool("Do you want to configure a new remote storage pool (yes/no) [default=no]? ", "no") {
 			err := c.askStoragePool(config, d, "remote")
 			if err != nil {
 				return err


More information about the lxc-devel mailing list