[lxc-devel] [lxd/master] Implement `lxc start --console`

stgraber on Github lxc-bot at linuxcontainers.org
Wed Jun 17 00:18:36 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 301 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200616/79e20236/attachment-0001.bin>
-------------- next part --------------
From bfa1777bca49e42ab6208af3e21096818a196246 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 16 Jun 2020 20:08:42 -0400
Subject: [PATCH 1/3] lxc/console: Split Console to own function
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>
---
 lxc/console.go | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lxc/console.go b/lxc/console.go
index ae34290130..02b8e1dbf2 100644
--- a/lxc/console.go
+++ b/lxc/console.go
@@ -129,11 +129,14 @@ func (c *cmdConsole) Run(cmd *cobra.Command, args []string) error {
 		return nil
 	}
 
+	return c.Console(d, name)
+}
+
+func (c *cmdConsole) Console(d lxd.InstanceServer, name string) error {
 	// Configure the terminal
 	cfd := int(os.Stdin.Fd())
 
-	var oldTTYstate *termios.State
-	oldTTYstate, err = termios.MakeRaw(cfd)
+	oldTTYstate, err := termios.MakeRaw(cfd)
 	if err != nil {
 		return err
 	}

From 1797bdd7b52392942c789f4d4d4a90279af8a7a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 16 Jun 2020 20:17:59 -0400
Subject: [PATCH 2/3] lxc/start: Allow direct console attach
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>
---
 lxc/action.go | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/lxc/action.go b/lxc/action.go
index 2a715a4d31..5319fa5363 100644
--- a/lxc/action.go
+++ b/lxc/action.go
@@ -98,6 +98,7 @@ type cmdAction struct {
 	global *cmdGlobal
 
 	flagAll       bool
+	flagConsole   bool
 	flagForce     bool
 	flagStateful  bool
 	flagStateless bool
@@ -114,6 +115,7 @@ func (c *cmdAction) Command(action string) *cobra.Command {
 		cmd.Flags().BoolVar(&c.flagStateful, "stateful", false, i18n.G("Store the instance state"))
 	} else if action == "start" {
 		cmd.Flags().BoolVar(&c.flagStateless, "stateless", false, i18n.G("Ignore the instance state"))
+		cmd.Flags().BoolVar(&c.flagConsole, "console", false, i18n.G("Immediately attach to the console"))
 	}
 
 	if shared.StringInSlice(action, []string{"restart", "stop"}) {
@@ -198,6 +200,13 @@ func (c *cmdAction) doAction(action string, conf *config.Config, nameArg string)
 
 	progress.Done("")
 
+	// Handle console attach
+	if c.flagConsole {
+		console := cmdConsole{}
+		console.global = c.global
+		return console.Console(d, name)
+	}
+
 	return nil
 }
 
@@ -246,6 +255,16 @@ func (c *cmdAction) Run(cmd *cobra.Command, args []string) error {
 		names = args
 	}
 
+	if c.flagConsole {
+		if c.flagAll {
+			return fmt.Errorf(i18n.G("--console can't be used with --all"))
+		}
+
+		if len(names) != 1 {
+			return fmt.Errorf(i18n.G("--console only works with a single instance"))
+		}
+	}
+
 	// Run the action for every listed instance
 	results := runBatch(names, func(name string) error { return c.doAction(cmd.Name(), conf, name) })
 

From d6a8dcd728b618cca893b47157f671b89595c412 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 16 Jun 2020 20:18:10 -0400
Subject: [PATCH 3/3] i18n: Update translation templates
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>
---
 po/bg.po      | 38 +++++++++++++++++++++++++-------------
 po/ca.po      | 38 +++++++++++++++++++++++++-------------
 po/de.po      | 41 ++++++++++++++++++++++++++++-------------
 po/el.po      | 38 +++++++++++++++++++++++++-------------
 po/es.po      | 39 ++++++++++++++++++++++++++-------------
 po/fa.po      | 38 +++++++++++++++++++++++++-------------
 po/fi.po      | 38 +++++++++++++++++++++++++-------------
 po/fr.po      | 40 +++++++++++++++++++++++++++-------------
 po/hi.po      | 38 +++++++++++++++++++++++++-------------
 po/id.po      | 38 +++++++++++++++++++++++++-------------
 po/it.po      | 39 ++++++++++++++++++++++++++-------------
 po/ja.po      | 41 ++++++++++++++++++++++++++++-------------
 po/ko.po      | 38 +++++++++++++++++++++++++-------------
 po/lxd.pot    | 38 +++++++++++++++++++++++++-------------
 po/nb_NO.po   | 38 +++++++++++++++++++++++++-------------
 po/nl.po      | 38 +++++++++++++++++++++++++-------------
 po/pa.po      | 38 +++++++++++++++++++++++++-------------
 po/pl.po      | 38 +++++++++++++++++++++++++-------------
 po/pt_BR.po   | 41 ++++++++++++++++++++++++++++-------------
 po/ru.po      | 38 +++++++++++++++++++++++++-------------
 po/sl.po      | 38 +++++++++++++++++++++++++-------------
 po/sr.po      | 38 +++++++++++++++++++++++++-------------
 po/sv.po      | 38 +++++++++++++++++++++++++-------------
 po/te.po      | 38 +++++++++++++++++++++++++-------------
 po/tr.po      | 38 +++++++++++++++++++++++++-------------
 po/uk.po      | 38 +++++++++++++++++++++++++-------------
 po/zh_Hans.po | 38 +++++++++++++++++++++++++-------------
 27 files changed, 688 insertions(+), 351 deletions(-)

diff --git a/po/bg.po b/po/bg.po
index f8b8971456..aaa82009d6 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/ca.po b/po/ca.po
index 08a292c0c6..5aa879d9c9 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/de.po b/po/de.po
index 6697abbc52..f535302124 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LXD\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2020-04-27 19:48+0000\n"
 "Last-Translator: Predatorix Phoenix <predatorix at web.de>\n"
 "Language-Team: German <https://hosted.weblate.org/projects/linux-containers/"
@@ -335,6 +335,16 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+#, fuzzy
+msgid "--console can't be used with --all"
+msgstr "--refresh kann nur mit Containern verwendet werden"
+
+#: lxc/action.go:264
+#, fuzzy
+msgid "--console only works with a single instance"
+msgstr "kann nicht zum selben Container Namen kopieren"
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -556,7 +566,7 @@ msgstr "Ungültige Abbild Eigenschaft: %s\n"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1407,7 +1417,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 #, fuzzy
 msgid "Force the instance to shutdown"
 msgstr "Herunterfahren des Containers erzwingen."
@@ -1579,7 +1589,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 #, fuzzy
 msgid "Ignore the instance state"
 msgstr "Herunterfahren des Containers erzwingen."
@@ -1614,6 +1624,11 @@ msgstr "Abbild mit Fingerabdruck %s importiert\n"
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+#, fuzzy
+msgid "Immediately attach to the console"
+msgstr "Herunterfahren des Containers erzwingen."
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1711,7 +1726,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 #, fuzzy
 msgid "Invalid number of arguments"
 msgstr "ungültiges Argument %s"
@@ -2299,7 +2314,7 @@ msgstr "Kein Zertifikat für diese Verbindung"
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 #, fuzzy
 msgid "Must supply instance name for: "
 msgstr "der Name des Ursprung Containers muss angegeben werden"
@@ -2881,7 +2896,7 @@ msgstr "Herunterfahren des Containers erzwingen."
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -3200,7 +3215,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "Anhalten des Containers fehlgeschlagen!"
@@ -3288,7 +3303,7 @@ msgstr "Profil %s erstellt\n"
 msgid "Storage volume moved successfully!"
 msgstr "Profil %s erstellt\n"
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 #, fuzzy
 msgid "Store the instance state"
 msgstr "Herunterfahren des Containers erzwingen."
@@ -3415,7 +3430,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 #, fuzzy
 msgid "Time to wait for the instance before killing it"
 msgstr "Wartezeit bevor der Container gestoppt wird."
@@ -3433,7 +3448,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3478,7 +3493,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "kann nicht zum selben Container Namen kopieren"
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -4003,7 +4018,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, fuzzy, c-format
 msgid "error: %v"
 msgstr "Fehler: %v\n"
diff --git a/po/el.po b/po/el.po
index a5c7e1fd0d..201fe4d32e 100644
--- a/po/el.po
+++ b/po/el.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2017-02-14 08:00+0000\n"
 "Last-Translator: Simos Xenitellis <simos.65 at gmail.com>\n"
 "Language-Team: Greek <https://hosted.weblate.org/projects/linux-containers/"
@@ -213,6 +213,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -420,7 +428,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1206,7 +1214,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1373,7 +1381,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1407,6 +1415,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1502,7 +1514,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2040,7 +2052,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2596,7 +2608,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2900,7 +2912,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2982,7 +2994,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3103,7 +3115,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3119,7 +3131,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3164,7 +3176,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3583,7 +3595,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/es.po b/po/es.po
index e80d144600..62e8a339e0 100644
--- a/po/es.po
+++ b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2019-09-06 07:09+0000\n"
 "Last-Translator: Stéphane Graber <stgraber at stgraber.org>\n"
 "Language-Team: Spanish <https://hosted.weblate.org/projects/linux-containers/"
@@ -334,6 +334,15 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+#, fuzzy
+msgid "--console only works with a single instance"
+msgstr "Perfil para aplicar al nuevo contenedor"
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -543,7 +552,7 @@ msgstr "Propiedad mala: %s"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 #, fuzzy
 msgid "Both --all and instance name given"
 msgstr "Ambas: todas y el nombre del contenedor dado"
@@ -1343,7 +1352,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1510,7 +1519,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1544,6 +1553,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1641,7 +1654,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2183,7 +2196,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2744,7 +2757,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -3048,7 +3061,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "Dispositivo %s añadido a %s"
@@ -3130,7 +3143,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3251,7 +3264,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3267,7 +3280,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3312,7 +3325,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "No se puede proveer el nombre del container a la lista"
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3742,7 +3755,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/fa.po b/po/fa.po
index cd6e599ffa..fcb6987d3a 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/fi.po b/po/fi.po
index adacdfb051..8ae04809db 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/fr.po b/po/fr.po
index b1949db9ae..0ee6f34826 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LXD\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2019-01-04 18:07+0000\n"
 "Last-Translator: Deleted User <noreply+12102 at weblate.org>\n"
 "Language-Team: French <https://hosted.weblate.org/projects/linux-containers/"
@@ -334,6 +334,15 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+#, fuzzy
+msgid "--console only works with a single instance"
+msgstr "Profil à appliquer au nouveau conteneur"
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -551,7 +560,7 @@ msgstr "Mauvaise propriété : %s"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1419,7 +1428,7 @@ msgstr "Forcer l'allocation d'un pseudo-terminal"
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 #, fuzzy
 msgid "Force the instance to shutdown"
 msgstr "Forcer le conteneur à s'arrêter"
@@ -1598,7 +1607,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 #, fuzzy
 msgid "Ignore the instance state"
 msgstr "Ignorer l'état du conteneur (seulement pour start)"
@@ -1635,6 +1644,11 @@ msgstr "Image importée avec l'empreinte : %s"
 msgid "Image refreshed successfully!"
 msgstr "Image copiée avec succès !"
 
+#: lxc/action.go:118
+#, fuzzy
+msgid "Immediately attach to the console"
+msgstr "Forcer l'arrêt du conteneur (seulement pour stop)"
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1733,7 +1747,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 #, fuzzy
 msgid "Invalid number of arguments"
 msgstr "nombre d'arguments incorrect pour la sous-comande"
@@ -2361,7 +2375,7 @@ msgstr "Copie de l'image : %s"
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 #, fuzzy
 msgid "Must supply instance name for: "
 msgstr "Vous devez fournir le nom d'un conteneur pour : "
@@ -2952,7 +2966,7 @@ msgstr "Forcer l'arrêt du conteneur (seulement pour stop)"
 msgid "Retrieving image: %s"
 msgstr "Récupération de l'image : %s"
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -3280,7 +3294,7 @@ msgstr "Instantanés :"
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "L'arrêt du conteneur a échoué !"
@@ -3368,7 +3382,7 @@ msgstr "Image copiée avec succès !"
 msgid "Storage volume moved successfully!"
 msgstr "Image copiée avec succès !"
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 #, fuzzy
 msgid "Store the instance state"
 msgstr "Forcer l'arrêt du conteneur (seulement pour stop)"
@@ -3501,7 +3515,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 #, fuzzy
 msgid "Time to wait for the instance before killing it"
 msgstr "Temps d'attente du conteneur avant de le tuer"
@@ -3519,7 +3533,7 @@ msgstr "Pour attacher un réseau à un conteneur, utiliser : lxc network attach"
 msgid "To create a new network, use: lxc network create"
 msgstr "Pour créer un réseau, utiliser : lxc network create"
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3566,7 +3580,7 @@ msgstr "Transfert de l'image : %s"
 msgid "Transferring instance: %s"
 msgstr "Transfert de l'image : %s"
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr "Essayer `lxc info --show-log %s` pour plus d'informations"
@@ -4117,7 +4131,7 @@ msgstr ""
 msgid "enabled"
 msgstr "activé"
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr "erreur : %v"
diff --git a/po/hi.po b/po/hi.po
index 88c01043ab..fbb133bbf0 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/id.po b/po/id.po
index 1fcc387017..cf30e53e5b 100644
--- a/po/id.po
+++ b/po/id.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/it.po b/po/it.po
index 0d5b3e7571..c673157757 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2019-09-06 07:09+0000\n"
 "Last-Translator: Luigi Operoso <brokenpip3 at gmail.com>\n"
 "Language-Team: Italian <https://hosted.weblate.org/projects/linux-containers/"
@@ -326,6 +326,15 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+#, fuzzy
+msgid "--console only works with a single instance"
+msgstr "non tutti i profili dell'origine esistono nella destinazione"
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -533,7 +542,7 @@ msgstr "Proprietà errata: %s"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1332,7 +1341,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1499,7 +1508,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 #, fuzzy
 msgid "Ignore the instance state"
 msgstr "Creazione del container in corso"
@@ -1534,6 +1543,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1630,7 +1643,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 #, fuzzy
 msgid "Invalid number of arguments"
 msgstr "numero errato di argomenti del sottocomando"
@@ -2176,7 +2189,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2738,7 +2751,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -3042,7 +3055,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "errore di processamento degli alias %s\n"
@@ -3125,7 +3138,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 #, fuzzy
 msgid "Store the instance state"
 msgstr "Creazione del container in corso"
@@ -3248,7 +3261,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3264,7 +3277,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3309,7 +3322,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "Creazione del container in corso"
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3742,7 +3755,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/ja.po b/po/ja.po
index c502858d15..092aa32eab 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LXD\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2020-05-22 19:59+0000\n"
 "Last-Translator: KATOH Yasufumi <karma at jazz.email.ne.jp>\n"
 "Language-Team: Japanese <https://hosted.weblate.org/projects/linux-"
@@ -328,6 +328,16 @@ msgstr "- パーティション %d"
 msgid "- Port %d (%s)"
 msgstr "- ポート %d (%s)"
 
+#: lxc/action.go:260
+#, fuzzy
+msgid "--console can't be used with --all"
+msgstr "--mode と --target は同時に指定できません"
+
+#: lxc/action.go:264
+#, fuzzy
+msgid "--console only works with a single instance"
+msgstr "移動先のインスタンスに適用するプロファイル"
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr "--empty はイメージ名と同時に指定できません"
@@ -547,7 +557,7 @@ msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 "書式が不適切です。次のような形式で指定してください <device>,<key>=<value>: %s"
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr "--all とインスタンス名を両方同時に指定することはできません"
 
@@ -1371,7 +1381,7 @@ msgstr "強制的に擬似端末を割り当てます"
 msgid "Force removing a member, even if degraded"
 msgstr "degraded 状態であっても強制的にメンバを削除します"
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr "インスタンスを強制シャットダウンします"
 
@@ -1553,7 +1563,7 @@ msgstr "設定されている自動でのインスタンスの有効期限設定
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr "設定されている自動でのストレージボリュームの有効期限設定を無視します"
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr "インスタンスの状態を無視します"
 
@@ -1587,6 +1597,11 @@ msgstr "イメージは以下のフィンガープリントでインポートさ
 msgid "Image refreshed successfully!"
 msgstr "イメージの更新が成功しました!"
 
+#: lxc/action.go:118
+#, fuzzy
+msgid "Immediately attach to the console"
+msgstr "インスタンスのコンソールに接続します"
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1691,7 +1706,7 @@ msgid ""
 msgstr ""
 "'%s' は不正な名前です。空文字列は maxWidth を指定しているときのみ指定できます"
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr "引数の数が不正です"
 
@@ -2340,7 +2355,7 @@ msgstr "ストレージボリュームの移動中: %s"
 msgid "Must run as root to import from directory"
 msgstr "ディレクトリからのインポートは root で実行する必要があります"
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr "インスタンス名を指定する必要があります: "
 
@@ -2902,7 +2917,7 @@ msgstr "インスタンスのコンソールログを取得します"
 msgid "Retrieving image: %s"
 msgstr "イメージの取得中: %s"
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr "すべてのインスタンスに対してコマンドを実行します"
 
@@ -3238,7 +3253,7 @@ msgstr "スナップショット:"
 msgid "Socket %d:"
 msgstr "ソケット %d:"
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr "一部のインスタンスで %s が失敗しました"
@@ -3320,7 +3335,7 @@ msgstr "ストレージボリュームのコピーが成功しました!"
 msgid "Storage volume moved successfully!"
 msgstr "ストレージボリュームの移動が成功しました!"
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr "インスタンスの状態を保存します"
 
@@ -3457,7 +3472,7 @@ msgstr ""
 msgid "Threads:"
 msgstr "スレッド:"
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr "インスタンスを強制停止するまで待つ時間"
 
@@ -3476,7 +3491,7 @@ msgid "To create a new network, use: lxc network create"
 msgstr ""
 "新しいネットワークを作成するには、lxc network create を使用してください"
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr "コンソールから切り離すには <ctrl>+a q を押します"
 
@@ -3525,7 +3540,7 @@ msgstr "イメージを転送中: %s"
 msgid "Transferring instance: %s"
 msgstr "インスタンスを転送中: %s"
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr "更に情報を得るために `lxc info --show-log %s` を実行してみてください"
@@ -3957,7 +3972,7 @@ msgstr "enable [<remote>:] <name>"
 msgid "enabled"
 msgstr "有効"
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr "エラー: %v"
diff --git a/po/ko.po b/po/ko.po
index e975c3f121..78fbe40865 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/lxd.pot b/po/lxd.pot
index c85c9663bb..4b6d7bb884 100644
--- a/po/lxd.pot
+++ b/po/lxd.pot
@@ -7,7 +7,7 @@
 msgid   ""
 msgstr  "Project-Id-Version: lxd\n"
         "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-        "POT-Creation-Date: 2020-06-11 23:19-0400\n"
+        "POT-Creation-Date: 2020-06-16 20:18-0400\n"
         "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
         "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
         "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -201,6 +201,14 @@ msgstr  ""
 msgid   "- Port %d (%s)"
 msgstr  ""
 
+#: lxc/action.go:260
+msgid   "--console can't be used with --all"
+msgstr  ""
+
+#: lxc/action.go:264
+msgid   "--console only works with a single instance"
+msgstr  ""
+
 #: lxc/init.go:122
 msgid   "--empty cannot be combined with an image name"
 msgstr  ""
@@ -402,7 +410,7 @@ msgstr  ""
 msgid   "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr  ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid   "Both --all and instance name given"
 msgstr  ""
 
@@ -1108,7 +1116,7 @@ msgstr  ""
 msgid   "Force removing a member, even if degraded"
 msgstr  ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid   "Force the instance to shutdown"
 msgstr  ""
 
@@ -1264,7 +1272,7 @@ msgstr  ""
 msgid   "Ignore any configured auto-expiry for the storage volume"
 msgstr  ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid   "Ignore the instance state"
 msgstr  ""
 
@@ -1298,6 +1306,10 @@ msgstr  ""
 msgid   "Image refreshed successfully!"
 msgstr  ""
 
+#: lxc/action.go:118
+msgid   "Immediately attach to the console"
+msgstr  ""
+
 #: lxc/import.go:28
 msgid   "Import backups of instances including their snapshots."
 msgstr  ""
@@ -1391,7 +1403,7 @@ msgstr  ""
 msgid   "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr  ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid   "Invalid number of arguments"
 msgstr  ""
 
@@ -1894,7 +1906,7 @@ msgstr  ""
 msgid   "Must run as root to import from directory"
 msgstr  ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid   "Must supply instance name for: "
 msgstr  ""
 
@@ -2440,7 +2452,7 @@ msgstr  ""
 msgid   "Retrieving image: %s"
 msgstr  ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid   "Run against all instances"
 msgstr  ""
 
@@ -2728,7 +2740,7 @@ msgstr  ""
 msgid   "Socket %d:"
 msgstr  ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid   "Some instances failed to %s"
 msgstr  ""
@@ -2810,7 +2822,7 @@ msgstr  ""
 msgid   "Storage volume moved successfully!"
 msgstr  ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid   "Store the instance state"
 msgstr  ""
 
@@ -2922,7 +2934,7 @@ msgstr  ""
 msgid   "Threads:"
 msgstr  ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid   "Time to wait for the instance before killing it"
 msgstr  ""
 
@@ -2938,7 +2950,7 @@ msgstr  ""
 msgid   "To create a new network, use: lxc network create"
 msgstr  ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid   "To detach from the console, press: <ctrl>+a q"
 msgstr  ""
 
@@ -2982,7 +2994,7 @@ msgstr  ""
 msgid   "Transferring instance: %s"
 msgstr  ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid   "Try `lxc info --show-log %s` for more info"
 msgstr  ""
@@ -3389,7 +3401,7 @@ msgstr  ""
 msgid   "enabled"
 msgstr  ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid   "error: %v"
 msgstr  ""
diff --git a/po/nb_NO.po b/po/nb_NO.po
index c5f3576519..9bdb321312 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/nl.po b/po/nl.po
index 7ecff1eff2..732247d331 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2019-09-06 07:09+0000\n"
 "Last-Translator: Stéphane Graber <stgraber at stgraber.org>\n"
 "Language-Team: Dutch <https://hosted.weblate.org/projects/linux-containers/"
@@ -327,6 +327,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -534,7 +542,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1316,7 +1324,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1483,7 +1491,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1517,6 +1525,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1612,7 +1624,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2148,7 +2160,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2703,7 +2715,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -3007,7 +3019,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3089,7 +3101,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3210,7 +3222,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3226,7 +3238,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3271,7 +3283,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3690,7 +3702,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/pa.po b/po/pa.po
index 87e36bb1b7..314e144be4 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/pl.po b/po/pl.po
index 4f46082c84..cfad0f4814 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2018-09-08 19:22+0000\n"
 "Last-Translator: m4sk1n <me at m4sk.in>\n"
 "Language-Team: Polish <https://hosted.weblate.org/projects/linux-containers/"
@@ -337,6 +337,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -544,7 +552,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1326,7 +1334,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1493,7 +1501,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1527,6 +1535,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1622,7 +1634,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2158,7 +2170,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2713,7 +2725,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -3017,7 +3029,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -3099,7 +3111,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3220,7 +3232,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3236,7 +3248,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3281,7 +3293,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3700,7 +3712,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 0650c0d122..2501a83d35 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2019-09-06 07:09+0000\n"
 "Last-Translator: Stéphane Graber <stgraber at stgraber.org>\n"
 "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
@@ -336,6 +336,16 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+#, fuzzy
+msgid "--console can't be used with --all"
+msgstr "--refresh só pode ser usado com containers"
+
+#: lxc/action.go:264
+#, fuzzy
+msgid "--console only works with a single instance"
+msgstr "Configuração chave/valor para aplicar ao novo contêiner"
+
 #: lxc/init.go:122
 #, fuzzy
 msgid "--empty cannot be combined with an image name"
@@ -556,7 +566,7 @@ msgstr "Propriedade ruim: %s"
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr "Erro de sintaxe, esperado <dispositivo>,<chave>=<valor>: %s"
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1371,7 +1381,7 @@ msgstr "Forçar alocação de pseudo-terminal"
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1541,7 +1551,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 #, fuzzy
 msgid "Ignore the instance state"
 msgstr "Ignorar o estado do container"
@@ -1576,6 +1586,11 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+#, fuzzy
+msgid "Immediately attach to the console"
+msgstr "Anexar interfaces de rede aos perfis"
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1671,7 +1686,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2213,7 +2228,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2775,7 +2790,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -3087,7 +3102,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "Dispositivo %s adicionado a %s"
@@ -3169,7 +3184,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 #, fuzzy
 msgid "Store the instance state"
 msgstr "Ignorar o estado do container"
@@ -3291,7 +3306,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3307,7 +3322,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3352,7 +3367,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "Editar arquivos no container"
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3775,7 +3790,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/ru.po b/po/ru.po
index cc552e0b1f..02a3b3a284 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2018-06-22 15:57+0000\n"
 "Last-Translator: Александр Киль <shorrey at gmail.com>\n"
 "Language-Team: Russian <https://hosted.weblate.org/projects/linux-containers/"
@@ -338,6 +338,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -548,7 +556,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1357,7 +1365,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1524,7 +1532,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 #, fuzzy
 msgid "Ignore the instance state"
 msgstr "Невозможно добавить имя контейнера в список"
@@ -1559,6 +1567,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1657,7 +1669,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2210,7 +2222,7 @@ msgstr "Копирование образа: %s"
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2775,7 +2787,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -3082,7 +3094,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, fuzzy, c-format
 msgid "Some instances failed to %s"
 msgstr "Невозможно добавить имя контейнера в список"
@@ -3166,7 +3178,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 #, fuzzy
 msgid "Store the instance state"
 msgstr "Невозможно добавить имя контейнера в список"
@@ -3288,7 +3300,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3304,7 +3316,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3349,7 +3361,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr "Невозможно добавить имя контейнера в список"
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3849,7 +3861,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/sl.po b/po/sl.po
index 68c2160d62..e44a918304 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/sr.po b/po/sr.po
index 67ad930530..ac28a60dc5 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/sv.po b/po/sv.po
index 275bf9c1b5..f042606c72 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/te.po b/po/te.po
index 0d5859d203..2826fa29bd 100644
--- a/po/te.po
+++ b/po/te.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/tr.po b/po/tr.po
index 940a2468d3..83737293e6 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/uk.po b/po/uk.po
index 0d7c68b12e..daffb3288d 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -210,6 +210,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1199,7 +1207,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1366,7 +1374,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1400,6 +1408,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1495,7 +1507,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2031,7 +2043,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2586,7 +2598,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2890,7 +2902,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2972,7 +2984,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3093,7 +3105,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3109,7 +3121,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3154,7 +3166,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3573,7 +3585,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""
diff --git a/po/zh_Hans.po b/po/zh_Hans.po
index b89cb0e375..aeb9af3917 100644
--- a/po/zh_Hans.po
+++ b/po/zh_Hans.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2020-06-11 23:19-0400\n"
+"POT-Creation-Date: 2020-06-16 20:18-0400\n"
 "PO-Revision-Date: 2018-09-11 19:15+0000\n"
 "Last-Translator: 0x0916 <w at laoqinren.net>\n"
 "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
@@ -213,6 +213,14 @@ msgstr ""
 msgid "- Port %d (%s)"
 msgstr ""
 
+#: lxc/action.go:260
+msgid "--console can't be used with --all"
+msgstr ""
+
+#: lxc/action.go:264
+msgid "--console only works with a single instance"
+msgstr ""
+
 #: lxc/init.go:122
 msgid "--empty cannot be combined with an image name"
 msgstr ""
@@ -420,7 +428,7 @@ msgstr ""
 msgid "Bad syntax, expecting <device>,<key>=<value>: %s"
 msgstr ""
 
-#: lxc/action.go:239
+#: lxc/action.go:232
 msgid "Both --all and instance name given"
 msgstr ""
 
@@ -1202,7 +1210,7 @@ msgstr ""
 msgid "Force removing a member, even if degraded"
 msgstr ""
 
-#: lxc/action.go:120
+#: lxc/action.go:122
 msgid "Force the instance to shutdown"
 msgstr ""
 
@@ -1369,7 +1377,7 @@ msgstr ""
 msgid "Ignore any configured auto-expiry for the storage volume"
 msgstr ""
 
-#: lxc/action.go:116
+#: lxc/action.go:117
 msgid "Ignore the instance state"
 msgstr ""
 
@@ -1403,6 +1411,10 @@ msgstr ""
 msgid "Image refreshed successfully!"
 msgstr ""
 
+#: lxc/action.go:118
+msgid "Immediately attach to the console"
+msgstr ""
+
 #: lxc/import.go:28
 msgid "Import backups of instances including their snapshots."
 msgstr ""
@@ -1498,7 +1510,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:423
+#: lxc/main.go:425
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -2034,7 +2046,7 @@ msgstr ""
 msgid "Must run as root to import from directory"
 msgstr ""
 
-#: lxc/action.go:151
+#: lxc/action.go:153
 msgid "Must supply instance name for: "
 msgstr ""
 
@@ -2589,7 +2601,7 @@ msgstr ""
 msgid "Retrieving image: %s"
 msgstr ""
 
-#: lxc/action.go:111
+#: lxc/action.go:112
 msgid "Run against all instances"
 msgstr ""
 
@@ -2893,7 +2905,7 @@ msgstr ""
 msgid "Socket %d:"
 msgstr ""
 
-#: lxc/action.go:269
+#: lxc/action.go:293
 #, c-format
 msgid "Some instances failed to %s"
 msgstr ""
@@ -2975,7 +2987,7 @@ msgstr ""
 msgid "Storage volume moved successfully!"
 msgstr ""
 
-#: lxc/action.go:114
+#: lxc/action.go:115
 msgid "Store the instance state"
 msgstr ""
 
@@ -3096,7 +3108,7 @@ msgstr ""
 msgid "Threads:"
 msgstr ""
 
-#: lxc/action.go:121
+#: lxc/action.go:123
 msgid "Time to wait for the instance before killing it"
 msgstr ""
 
@@ -3112,7 +3124,7 @@ msgstr ""
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
-#: lxc/console.go:172
+#: lxc/console.go:175
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
@@ -3157,7 +3169,7 @@ msgstr ""
 msgid "Transferring instance: %s"
 msgstr ""
 
-#: lxc/action.go:196 lxc/launch.go:99
+#: lxc/action.go:198 lxc/launch.go:99
 #, c-format
 msgid "Try `lxc info --show-log %s` for more info"
 msgstr ""
@@ -3576,7 +3588,7 @@ msgstr ""
 msgid "enabled"
 msgstr ""
 
-#: lxc/action.go:261
+#: lxc/action.go:285
 #, c-format
 msgid "error: %v"
 msgstr ""


More information about the lxc-devel mailing list