[lxc-devel] [lxd/master] Client tweaks

stgraber on Github lxc-bot at linuxcontainers.org
Sun Aug 5 04:38:07 UTC 2018


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/20180805/b7aa845e/attachment.bin>
-------------- next part --------------
From 4e9080a4fdbbeb00ffabfe35d04c45da0f81c171 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Sat, 4 Aug 2018 23:55:41 -0400
Subject: [PATCH 1/3] client: Centrally handle targeting
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>
---
 client/lxd.go                 | 18 +++++++++++++-
 client/lxd_containers.go      | 20 +++------------
 client/lxd_networks.go        | 12 ++-------
 client/lxd_storage_pools.go   | 12 ++-------
 client/lxd_storage_volumes.go | 46 ++++-------------------------------
 5 files changed, 29 insertions(+), 79 deletions(-)

diff --git a/client/lxd.go b/client/lxd.go
index 3f61c84f71..8bba043ad1 100644
--- a/client/lxd.go
+++ b/client/lxd.go
@@ -228,7 +228,23 @@ func (r *ProtocolLXD) query(method string, path string, data interface{}, ETag s
 	// Generate the URL
 	url := fmt.Sprintf("%s/1.0%s", r.httpHost, path)
 
-	return r.rawQuery(method, url, data, ETag)
+	// Parse the full URI
+	fields, err := neturl.Parse(url)
+	if err != nil {
+		return nil, "", err
+	}
+
+	// Extract query fields and update for cluster targeting
+	values := fields.Query()
+	if r.clusterTarget != "" {
+		if values.Get("target") == "" {
+			values.Set("target", r.clusterTarget)
+		}
+	}
+	fields.RawQuery = values.Encode()
+
+	// Run the actual query
+	return r.rawQuery(method, fields.String(), data, ETag)
 }
 
 func (r *ProtocolLXD) queryStruct(method string, path string, data interface{}, ETag string, target interface{}) (string, error) {
diff --git a/client/lxd_containers.go b/client/lxd_containers.go
index d44b98c76b..b6e29cb649 100644
--- a/client/lxd_containers.go
+++ b/client/lxd_containers.go
@@ -72,12 +72,7 @@ func (r *ProtocolLXD) CreateContainerFromBackup(args ContainerBackupArgs) (Opera
 	}
 
 	// Send the request
-	path := "/containers"
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
-
-	op, _, err := r.queryOperation("POST", path, args.BackupFile, "")
+	op, _, err := r.queryOperation("POST", "/containers", args.BackupFile, "")
 	if err != nil {
 		return nil, err
 	}
@@ -94,11 +89,7 @@ func (r *ProtocolLXD) CreateContainer(container api.ContainersPost) (Operation,
 	}
 
 	// Send the request
-	path := "/containers"
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
-	op, _, err := r.queryOperation("POST", path, container, "")
+	op, _, err := r.queryOperation("POST", "/containers", container, "")
 	if err != nil {
 		return nil, err
 	}
@@ -581,12 +572,7 @@ func (r *ProtocolLXD) MigrateContainer(name string, container api.ContainerPost)
 	}
 
 	// Send the request
-	path := fmt.Sprintf("/containers/%s", url.QueryEscape(name))
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
-
-	op, _, err := r.queryOperation("POST", path, container, "")
+	op, _, err := r.queryOperation("POST", fmt.Sprintf("/containers/%s", url.QueryEscape(name)), container, "")
 	if err != nil {
 		return nil, err
 	}
diff --git a/client/lxd_networks.go b/client/lxd_networks.go
index efe2756939..1d2b211a6d 100644
--- a/client/lxd_networks.go
+++ b/client/lxd_networks.go
@@ -58,11 +58,7 @@ func (r *ProtocolLXD) GetNetwork(name string) (*api.Network, string, error) {
 	network := api.Network{}
 
 	// Fetch the raw value
-	path := fmt.Sprintf("/networks/%s", url.QueryEscape(name))
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
-	etag, err := r.queryStruct("GET", path, nil, "", &network)
+	etag, err := r.queryStruct("GET", fmt.Sprintf("/networks/%s", url.QueryEscape(name)), nil, "", &network)
 	if err != nil {
 		return nil, "", err
 	}
@@ -111,11 +107,7 @@ func (r *ProtocolLXD) CreateNetwork(network api.NetworksPost) error {
 	}
 
 	// Send the request
-	path := "/networks"
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
-	_, _, err := r.query("POST", path, network, "")
+	_, _, err := r.query("POST", "/networks", network, "")
 	if err != nil {
 		return err
 	}
diff --git a/client/lxd_storage_pools.go b/client/lxd_storage_pools.go
index c9a3df9673..8a93ae944e 100644
--- a/client/lxd_storage_pools.go
+++ b/client/lxd_storage_pools.go
@@ -60,11 +60,7 @@ func (r *ProtocolLXD) GetStoragePool(name string) (*api.StoragePool, string, err
 	pool := api.StoragePool{}
 
 	// Fetch the raw value
-	path := fmt.Sprintf("/storage-pools/%s", url.QueryEscape(name))
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
-	etag, err := r.queryStruct("GET", path, nil, "", &pool)
+	etag, err := r.queryStruct("GET", fmt.Sprintf("/storage-pools/%s", url.QueryEscape(name)), nil, "", &pool)
 	if err != nil {
 		return nil, "", err
 	}
@@ -83,11 +79,7 @@ func (r *ProtocolLXD) CreateStoragePool(pool api.StoragePoolsPost) error {
 	}
 
 	// Send the request
-	path := "/storage-pools"
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
-	_, _, err := r.query("POST", path, pool, "")
+	_, _, err := r.query("POST", "/storage-pools", pool, "")
 	if err != nil {
 		return err
 	}
diff --git a/client/lxd_storage_volumes.go b/client/lxd_storage_volumes.go
index e0f5fb8d7d..4d7a91af5f 100644
--- a/client/lxd_storage_volumes.go
+++ b/client/lxd_storage_volumes.go
@@ -60,12 +60,7 @@ func (r *ProtocolLXD) GetStoragePoolVolume(pool string, volType string, name str
 	volume := api.StorageVolume{}
 
 	// Fetch the raw value
-	path := fmt.Sprintf(
-		"/storage-pools/%s/volumes/%s/%s",
-		url.QueryEscape(pool), url.QueryEscape(volType), url.QueryEscape(name))
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
+	path := fmt.Sprintf("/storage-pools/%s/volumes/%s/%s", url.QueryEscape(pool), url.QueryEscape(volType), url.QueryEscape(name))
 	etag, err := r.queryStruct("GET", path, nil, "", &volume)
 	if err != nil {
 		return nil, "", err
@@ -81,11 +76,7 @@ func (r *ProtocolLXD) CreateStoragePoolVolume(pool string, volume api.StorageVol
 	}
 
 	// Send the request
-	path := fmt.Sprintf(
-		"/storage-pools/%s/volumes/%s", url.QueryEscape(pool), url.QueryEscape(volume.Type))
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
+	path := fmt.Sprintf("/storage-pools/%s/volumes/%s", url.QueryEscape(pool), url.QueryEscape(volume.Type))
 	_, _, err := r.query("POST", path, volume, "")
 	if err != nil {
 		return err
@@ -107,9 +98,6 @@ func (r *ProtocolLXD) MigrateStoragePoolVolume(pool string, volume api.StorageVo
 
 	// Send the request
 	path := fmt.Sprintf("/storage-pools/%s/volumes/custom/%s", url.QueryEscape(pool), volume.Name)
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
 	op, _, err := r.queryOperation("POST", path, volume, "")
 	if err != nil {
 		return nil, err
@@ -192,9 +180,6 @@ func (r *ProtocolLXD) tryCreateStoragePoolVolume(pool string, req api.StorageVol
 
 			// Send the request
 			path := fmt.Sprintf("/storage-pools/%s/volumes/%s", url.QueryEscape(pool), url.QueryEscape(req.Type))
-			if r.clusterTarget != "" {
-				path += fmt.Sprintf("?target=%s", r.clusterTarget)
-			}
 			top, _, err := r.queryOperation("POST", path, req, "")
 			if err != nil {
 				continue
@@ -290,9 +275,6 @@ func (r *ProtocolLXD) CopyStoragePoolVolume(pool string, source ContainerServer,
 
 		// Send the request
 		path := fmt.Sprintf("/storage-pools/%s/volumes/%s", url.QueryEscape(pool), url.QueryEscape(volume.Type))
-		if r.clusterTarget != "" {
-			path += fmt.Sprintf("?target=%s", r.clusterTarget)
-		}
 
 		// Send the request
 		op, _, err := r.queryOperation("POST", path, req, "")
@@ -343,9 +325,6 @@ func (r *ProtocolLXD) CopyStoragePoolVolume(pool string, source ContainerServer,
 
 		// Send the request
 		path := fmt.Sprintf("/storage-pools/%s/volumes/%s", url.QueryEscape(pool), url.QueryEscape(volume.Type))
-		if r.clusterTarget != "" {
-			path += fmt.Sprintf("?target=%s", r.clusterTarget)
-		}
 
 		// Send the request
 		targetOp, _, err := r.queryOperation("POST", path, req, "")
@@ -433,12 +412,7 @@ func (r *ProtocolLXD) UpdateStoragePoolVolume(pool string, volType string, name
 	}
 
 	// Send the request
-	path := fmt.Sprintf(
-		"/storage-pools/%s/volumes/%s/%s",
-		url.QueryEscape(pool), url.QueryEscape(volType), url.QueryEscape(name))
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
+	path := fmt.Sprintf("/storage-pools/%s/volumes/%s/%s", url.QueryEscape(pool), url.QueryEscape(volType), url.QueryEscape(name))
 	_, _, err := r.query("PUT", path, volume, ETag)
 	if err != nil {
 		return err
@@ -454,12 +428,7 @@ func (r *ProtocolLXD) DeleteStoragePoolVolume(pool string, volType string, name
 	}
 
 	// Send the request
-	path := fmt.Sprintf(
-		"/storage-pools/%s/volumes/%s/%s",
-		url.QueryEscape(pool), url.QueryEscape(volType), url.QueryEscape(name))
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
+	path := fmt.Sprintf("/storage-pools/%s/volumes/%s/%s", url.QueryEscape(pool), url.QueryEscape(volType), url.QueryEscape(name))
 	_, _, err := r.query("DELETE", path, nil, "")
 	if err != nil {
 		return err
@@ -473,12 +442,7 @@ func (r *ProtocolLXD) RenameStoragePoolVolume(pool string, volType string, name
 	if !r.HasExtension("storage_api_volume_rename") {
 		return fmt.Errorf("The server is missing the required \"storage_api_volume_rename\" API extension")
 	}
-	path := fmt.Sprintf(
-		"/storage-pools/%s/volumes/%s/%s",
-		url.QueryEscape(pool), url.QueryEscape(volType), url.QueryEscape(name))
-	if r.clusterTarget != "" {
-		path += fmt.Sprintf("?target=%s", r.clusterTarget)
-	}
+	path := fmt.Sprintf("/storage-pools/%s/volumes/%s/%s", url.QueryEscape(pool), url.QueryEscape(volType), url.QueryEscape(name))
 
 	// Send the request
 	_, _, err := r.query("POST", path, volume, "")

From 7d967052e4257acfbcfcab12b71f43752595096d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Sat, 4 Aug 2018 23:03:48 -0400
Subject: [PATCH 2/3] lxc/remote: Rename set-default to switch
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/remote.go | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/lxc/remote.go b/lxc/remote.go
index ce606918df..9f3748771f 100644
--- a/lxc/remote.go
+++ b/lxc/remote.go
@@ -58,8 +58,8 @@ func (c *cmdRemote) Command() *cobra.Command {
 	cmd.AddCommand(remoteRemoveCmd.Command())
 
 	// Set default
-	remoteSetDefaultCmd := cmdRemoteSetDefault{global: c.global, remote: c}
-	cmd.AddCommand(remoteSetDefaultCmd.Command())
+	remoteSwitchCmd := cmdRemoteSwitch{global: c.global, remote: c}
+	cmd.AddCommand(remoteSwitchCmd.Command())
 
 	// Set URL
 	remoteSetURLCmd := cmdRemoteSetURL{global: c.global, remote: c}
@@ -623,24 +623,25 @@ func (c *cmdRemoteRemove) Run(cmd *cobra.Command, args []string) error {
 }
 
 // Set default
-type cmdRemoteSetDefault struct {
+type cmdRemoteSwitch struct {
 	global *cmdGlobal
 	remote *cmdRemote
 }
 
-func (c *cmdRemoteSetDefault) Command() *cobra.Command {
+func (c *cmdRemoteSwitch) Command() *cobra.Command {
 	cmd := &cobra.Command{}
-	cmd.Use = i18n.G("set-default <remote>")
-	cmd.Short = i18n.G("Set the default remote")
+	cmd.Aliases = []string{"set-default"}
+	cmd.Use = i18n.G("switch <remote>")
+	cmd.Short = i18n.G("Switch the default remote")
 	cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G(
-		`Set the default remote`))
+		`Switch the default remote`))
 
 	cmd.RunE = c.Run
 
 	return cmd
 }
 
-func (c *cmdRemoteSetDefault) Run(cmd *cobra.Command, args []string) error {
+func (c *cmdRemoteSwitch) Run(cmd *cobra.Command, args []string) error {
 	conf := c.global.conf
 
 	// Sanity checks

From 25ea21da0ab9a68ae1f69fae70931a13138717fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Sun, 5 Aug 2018 00:07:51 -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/de.po      | 28 ++++++++++++++--------------
 po/el.po      | 28 ++++++++++++++--------------
 po/es.po      | 28 ++++++++++++++--------------
 po/fa.po      | 28 ++++++++++++++--------------
 po/fi.po      | 28 ++++++++++++++--------------
 po/fr.po      | 32 ++++++++++++++++----------------
 po/hi.po      | 28 ++++++++++++++--------------
 po/id.po      | 28 ++++++++++++++--------------
 po/it.po      | 28 ++++++++++++++--------------
 po/ja.po      | 30 ++++++++++++++++--------------
 po/ko.po      | 28 ++++++++++++++--------------
 po/lxd.pot    | 28 ++++++++++++++--------------
 po/nb_NO.po   | 28 ++++++++++++++--------------
 po/nl.po      | 28 ++++++++++++++--------------
 po/pa.po      | 28 ++++++++++++++--------------
 po/pl.po      | 28 ++++++++++++++--------------
 po/pt_BR.po   | 28 ++++++++++++++--------------
 po/ru.po      | 28 ++++++++++++++--------------
 po/sr.po      | 28 ++++++++++++++--------------
 po/sv.po      | 28 ++++++++++++++--------------
 po/tr.po      | 28 ++++++++++++++--------------
 po/uk.po      | 28 ++++++++++++++--------------
 po/zh.po      | 28 ++++++++++++++--------------
 po/zh_Hans.po | 28 ++++++++++++++--------------
 24 files changed, 340 insertions(+), 338 deletions(-)

diff --git a/po/de.po b/po/de.po
index 2bba77aa20..1ce995c89b 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: 2018-06-05 04:58+0000\n"
 "Last-Translator: Krombel <krombel at krombel.de>\n"
 "Language-Team: German <https://hosted.weblate.org/projects/linux-containers/"
@@ -824,7 +824,7 @@ msgstr "Kein Zertifikat für diese Verbindung"
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -2063,7 +2063,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr "entfernte Instanz %s existiert bereits"
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, fuzzy, c-format
 msgid "Remote %s doesn't exist"
 msgstr "entfernte Instanz %s existiert nicht"
@@ -2073,7 +2073,7 @@ msgstr "entfernte Instanz %s existiert nicht"
 msgid "Remote %s exists as <%s>"
 msgstr "entfernte Instanz %s existiert als <%s>"
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2289,14 +2289,10 @@ msgstr "Profil %s erstellt\n"
 msgid "Set storage volume configuration keys"
 msgstr "Profil %s erstellt\n"
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr "Setzt die gid der Datei beim Übertragen"
@@ -2522,6 +2518,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3557,11 +3557,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3645,6 +3641,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/el.po b/po/el.po
index 8cae0b14e8..b2360f9ee5 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\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/"
@@ -691,7 +691,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1863,7 +1863,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1873,7 +1873,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2074,14 +2074,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2297,6 +2293,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3261,11 +3261,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3341,6 +3337,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/es.po b/po/es.po
index 2a4c390870..f81d7341b9 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: 2018-02-10 11:39+0000\n"
 "Last-Translator: Allan Esquivel Sibaja <allan.esquivel.sibaja at gmail.com>\n"
 "Language-Team: Spanish <https://hosted.weblate.org/projects/linux-containers/"
@@ -750,7 +750,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1925,7 +1925,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1935,7 +1935,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2136,14 +2136,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2359,6 +2355,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3324,11 +3324,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3404,6 +3400,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/fa.po b/po/fa.po
index 23b499c322..f6ea09f6d9 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/fi.po b/po/fi.po
index 51fe1e9fec..4d546fd555 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/fr.po b/po/fr.po
index 603e5df2c7..9d8b676547 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: 2018-03-06 13:50+0000\n"
 "Last-Translator: Alban Vidal <alban.vidal at zordhak.fr>\n"
 "Language-Team: French <https://hosted.weblate.org/projects/linux-containers/"
@@ -833,7 +833,7 @@ msgstr "Copie de l'image : %s"
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -2135,7 +2135,7 @@ msgstr "Récupération de l'image : %s"
 msgid "Remote %s already exists"
 msgstr "le serveur distant %s existe déjà"
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, fuzzy, c-format
 msgid "Remote %s doesn't exist"
 msgstr "le serveur distant %s n'existe pas"
@@ -2145,7 +2145,7 @@ msgstr "le serveur distant %s n'existe pas"
 msgid "Remote %s exists as <%s>"
 msgstr "le serveur distant %s existe en tant que <%s>"
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, fuzzy, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr "le serveur distant %s est statique et ne peut être modifié"
@@ -2365,15 +2365,10 @@ msgstr "Clé de configuration invalide"
 msgid "Set storage volume configuration keys"
 msgstr "Clé de configuration invalide"
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-#, fuzzy
-msgid "Set the default remote"
-msgstr "impossible de supprimer le serveur distant par défaut"
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr "Définir le gid du fichier lors de l'envoi"
@@ -2605,6 +2600,11 @@ msgstr "Swap (courant)"
 msgid "Swap (peak)"
 msgstr "Swap (pointe)"
 
+#: lxc/remote.go:635 lxc/remote.go:636
+#, fuzzy
+msgid "Switch the default remote"
+msgstr "impossible de supprimer le serveur distant par défaut"
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3686,12 +3686,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-#, fuzzy
-msgid "set-default <remote>"
-msgstr "impossible de supprimer le serveur distant par défaut"
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3775,6 +3770,11 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+#, fuzzy
+msgid "switch <remote>"
+msgstr "impossible de supprimer le serveur distant par défaut"
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/hi.po b/po/hi.po
index 8bb49881c6..9c2dd76be8 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/id.po b/po/id.po
index 08cb1778f0..fca78140a1 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/it.po b/po/it.po
index 22fe56fdfb..67b618064e 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: 2017-08-18 14:22+0000\n"
 "Last-Translator: Alberto Donato <alberto.donato at gmail.com>\n"
 "Language-Team: Italian <https://hosted.weblate.org/projects/linux-containers/"
@@ -716,7 +716,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1897,7 +1897,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr "il remote %s esiste già"
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, fuzzy, c-format
 msgid "Remote %s doesn't exist"
 msgstr "il remote %s non esiste"
@@ -1907,7 +1907,7 @@ msgstr "il remote %s non esiste"
 msgid "Remote %s exists as <%s>"
 msgstr "il remote %s esiste come %s"
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, fuzzy, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr "il remote %s è statico e non può essere modificato"
@@ -2109,14 +2109,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2334,6 +2330,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3302,11 +3302,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3382,6 +3378,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/ja.po b/po/ja.po
index 43f4b81761..29bb3361b4 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: 2018-05-16 23:39+0000\n"
 "Last-Translator: KATOH Yasufumi <karma at jazz.email.ne.jp>\n"
 "Language-Team: Japanese <https://hosted.weblate.org/projects/linux-"
@@ -712,7 +712,7 @@ msgstr "ストレージボリュームを削除します"
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -2013,7 +2013,7 @@ msgstr "イメージの更新中: %s"
 msgid "Remote %s already exists"
 msgstr "リモート %s は既に存在します"
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr "リモート %s は存在しません"
@@ -2023,7 +2023,7 @@ msgstr "リモート %s は存在しません"
 msgid "Remote %s exists as <%s>"
 msgstr "リモート %s は <%s> として存在します"
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr "リモート %s は static ですので変更できません"
@@ -2230,14 +2230,10 @@ msgstr "ストレージプールの設定項目を設定します"
 msgid "Set storage volume configuration keys"
 msgstr "ストレージボリュームの設定項目を設定します"
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr "リモートの URL を設定します"
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr "デフォルトのリモートを設定します"
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr "プッシュ時にファイルのgidを設定します"
@@ -2453,6 +2449,11 @@ msgstr "Swap (現在値)"
 msgid "Swap (peak)"
 msgstr "Swap (ピーク)"
 
+#: lxc/remote.go:635 lxc/remote.go:636
+#, fuzzy
+msgid "Switch the default remote"
+msgstr "デフォルトのリモートを設定します"
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3550,11 +3551,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr "set-default <remote>"
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3630,6 +3627,11 @@ msgstr "stop [<remote>:]<container> [[<remote>:]<container>...]"
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+#, fuzzy
+msgid "switch <remote>"
+msgstr "set-default <remote>"
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/ko.po b/po/ko.po
index 8f715b2ae2..7392208167 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/lxd.pot b/po/lxd.pot
index 5cde35e606..d4f1a468e8 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: 2018-07-28 12:22-0400\n"
+        "POT-Creation-Date: 2018-08-05 00:07-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"
@@ -630,7 +630,7 @@ msgstr  ""
 msgid   "Delete storage volumes"
 msgstr  ""
 
-#: lxc/action.go:31 lxc/action.go:50 lxc/action.go:70 lxc/action.go:91 lxc/alias.go:23 lxc/alias.go:55 lxc/alias.go:99 lxc/alias.go:147 lxc/alias.go:198 lxc/cluster.go:27 lxc/cluster.go:64 lxc/cluster.go:147 lxc/cluster.go:197 lxc/cluster.go:243 lxc/cluster.go:289 lxc/config.go:29 lxc/config.go:88 lxc/config.go:289 lxc/config.go:355 lxc/config.go:452 lxc/config.go:560 lxc/config_device.go:24 lxc/config_device.go:76 lxc/config_device.go:179 lxc/config_device.go:252 lxc/config_device.go:318 lxc/config_device.go:405 lxc/config_device.go:493 lxc/config_device.go:582 lxc/config_device.go:650 lxc/config_metadata.go:29 lxc/config_metadata.go:54 lxc/config_metadata.go:176 lxc/config_template.go:30 lxc/config_template.go:67 lxc/config_template.go:110 lxc/config_template.go:152 lxc/config_template.go:236 lxc/config_template.go:298 lxc/config_trust.go:30 lxc/config_trust.go:59 lxc/config_trust.go:115 lxc/config_trust.go:197 lxc/console.go:32 lxc/copy.go:37 lxc/delete.go:30 lxc/exec.go:39 lxc/export.go:30 lxc/file.go:40 lxc/file.go:73 lxc/file.go:122 lxc/file.go:185 lxc/file.go:352 lxc/image.go:42 lxc/image.go:131 lxc/image.go:261 lxc/image.go:312 lxc/image.go:435 lxc/image.go:571 lxc/image.go:775 lxc/image.go:889 lxc/image.go:1211 lxc/image.go:1284 lxc/image_alias.go:26 lxc/image_alias.go:59 lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250 lxc/import.go:22 lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46 lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:36 lxc/network.go:34 lxc/network.go:110 lxc/network.go:183 lxc/network.go:256 lxc/network.go:326 lxc/network.go:373 lxc/network.go:458 lxc/network.go:543 lxc/network.go:666 lxc/network.go:724 lxc/network.go:794 lxc/network.go:914 lxc/network.go:979 lxc/network.go:1026 lxc/network.go:1095 lxc/network.go:1157 lxc/operation.go:25 lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30 lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419 lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673 lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201 lxc/storage_volume.go:283 lxc/storage_volume.go:412 lxc/storage_volume.go:487 lxc/storage_volume.go:547 lxc/storage_volume.go:629 lxc/storage_volume.go:710 lxc/storage_volume.go:839 lxc/storage_volume.go:904 lxc/storage_volume.go:980 lxc/storage_volume.go:1011 lxc/storage_volume.go:1075 lxc/storage_volume.go:1152 lxc/storage_volume.go:1227 lxc/version.go:22
+#: lxc/action.go:31 lxc/action.go:50 lxc/action.go:70 lxc/action.go:91 lxc/alias.go:23 lxc/alias.go:55 lxc/alias.go:99 lxc/alias.go:147 lxc/alias.go:198 lxc/cluster.go:27 lxc/cluster.go:64 lxc/cluster.go:147 lxc/cluster.go:197 lxc/cluster.go:243 lxc/cluster.go:289 lxc/config.go:29 lxc/config.go:88 lxc/config.go:289 lxc/config.go:355 lxc/config.go:452 lxc/config.go:560 lxc/config_device.go:24 lxc/config_device.go:76 lxc/config_device.go:179 lxc/config_device.go:252 lxc/config_device.go:318 lxc/config_device.go:405 lxc/config_device.go:493 lxc/config_device.go:582 lxc/config_device.go:650 lxc/config_metadata.go:29 lxc/config_metadata.go:54 lxc/config_metadata.go:176 lxc/config_template.go:30 lxc/config_template.go:67 lxc/config_template.go:110 lxc/config_template.go:152 lxc/config_template.go:236 lxc/config_template.go:298 lxc/config_trust.go:30 lxc/config_trust.go:59 lxc/config_trust.go:115 lxc/config_trust.go:197 lxc/console.go:32 lxc/copy.go:37 lxc/delete.go:30 lxc/exec.go:39 lxc/export.go:30 lxc/file.go:40 lxc/file.go:73 lxc/file.go:122 lxc/file.go:185 lxc/file.go:352 lxc/image.go:42 lxc/image.go:131 lxc/image.go:261 lxc/image.go:312 lxc/image.go:435 lxc/image.go:571 lxc/image.go:775 lxc/image.go:889 lxc/image.go:1211 lxc/image.go:1284 lxc/image_alias.go:26 lxc/image_alias.go:59 lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250 lxc/import.go:22 lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46 lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:36 lxc/network.go:34 lxc/network.go:110 lxc/network.go:183 lxc/network.go:256 lxc/network.go:326 lxc/network.go:373 lxc/network.go:458 lxc/network.go:543 lxc/network.go:666 lxc/network.go:724 lxc/network.go:794 lxc/network.go:914 lxc/network.go:979 lxc/network.go:1026 lxc/network.go:1095 lxc/network.go:1157 lxc/operation.go:25 lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30 lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419 lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674 lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201 lxc/storage_volume.go:283 lxc/storage_volume.go:412 lxc/storage_volume.go:487 lxc/storage_volume.go:547 lxc/storage_volume.go:629 lxc/storage_volume.go:710 lxc/storage_volume.go:839 lxc/storage_volume.go:904 lxc/storage_volume.go:980 lxc/storage_volume.go:1011 lxc/storage_volume.go:1075 lxc/storage_volume.go:1152 lxc/storage_volume.go:1227 lxc/version.go:22
 msgid   "Description"
 msgstr  ""
 
@@ -1747,7 +1747,7 @@ msgstr  ""
 msgid   "Remote %s already exists"
 msgstr  ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid   "Remote %s doesn't exist"
 msgstr  ""
@@ -1757,7 +1757,7 @@ msgstr  ""
 msgid   "Remote %s exists as <%s>"
 msgstr  ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid   "Remote %s is static and cannot be modified"
 msgstr  ""
@@ -1955,14 +1955,10 @@ msgstr  ""
 msgid   "Set storage volume configuration keys"
 msgstr  ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid   "Set the URL for the remote"
 msgstr  ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid   "Set the default remote"
-msgstr  ""
-
 #: lxc/file.go:361
 msgid   "Set the file's gid on push"
 msgstr  ""
@@ -2178,6 +2174,10 @@ msgstr  ""
 msgid   "Swap (peak)"
 msgstr  ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid   "Switch the default remote"
+msgstr  ""
+
 #: lxc/alias.go:128
 msgid   "TARGET"
 msgstr  ""
@@ -3080,11 +3080,7 @@ msgstr  ""
 msgid   "set [<remote>:][<container>] <key> <value>"
 msgstr  ""
 
-#: lxc/remote.go:633
-msgid   "set-default <remote>"
-msgstr  ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid   "set-url <remote> <URL>"
 msgstr  ""
 
@@ -3160,6 +3156,10 @@ msgstr  ""
 msgid   "storage"
 msgstr  ""
 
+#: lxc/remote.go:634
+msgid   "switch <remote>"
+msgstr  ""
+
 #: lxc/info.go:255
 #, c-format
 msgid   "taken at %s"
diff --git a/po/nb_NO.po b/po/nb_NO.po
index 7d12c11e99..0c0330feb0 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/nl.po b/po/nl.po
index 7fd3b06657..11a58bfe8f 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/pa.po b/po/pa.po
index 0ccba08d2f..d2024d4bdc 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/pl.po b/po/pl.po
index a0bc4b228b..2ea610228d 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index d535401bf0..93d076f485 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: 2018-03-08 09:21+0000\n"
 "Last-Translator: Paulo Coghi <paulo at coghi.com.br>\n"
 "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
@@ -704,7 +704,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1873,7 +1873,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1883,7 +1883,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2084,14 +2084,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2307,6 +2303,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3271,11 +3271,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3351,6 +3347,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/ru.po b/po/ru.po
index 05dcd92ff3..899347e6e5 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\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/"
@@ -792,7 +792,7 @@ msgstr "Копирование образа: %s"
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1982,7 +1982,7 @@ msgstr "Копирование образа: %s"
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1992,7 +1992,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2196,14 +2196,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2423,6 +2419,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3432,11 +3432,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3520,6 +3516,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/sr.po b/po/sr.po
index 221208004b..cc60f867a4 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/sv.po b/po/sv.po
index a6f1ffce08..ff09418a7e 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/tr.po b/po/tr.po
index 5f8a0a67f8..04f7246880 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/uk.po b/po/uk.po
index a08e668ba7..52bca08105 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/zh.po b/po/zh.po
index a96f1a6396..c0eb9ccaf7 100644
--- a/po/zh.po
+++ b/po/zh.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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"
diff --git a/po/zh_Hans.po b/po/zh_Hans.po
index 8abc155175..5f91d3358a 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: 2018-07-28 12:22-0400\n"
+"POT-Creation-Date: 2018-08-05 04:07+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -687,7 +687,7 @@ msgstr ""
 #: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
 #: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:30
 #: lxc/remote.go:37 lxc/remote.go:87 lxc/remote.go:383 lxc/remote.go:419
-#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:635 lxc/remote.go:673
+#: lxc/remote.go:524 lxc/remote.go:586 lxc/remote.go:636 lxc/remote.go:674
 #: lxc/rename.go:21 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
 #: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
 #: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
@@ -1856,7 +1856,7 @@ msgstr ""
 msgid "Remote %s already exists"
 msgstr ""
 
-#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:655 lxc/remote.go:693
+#: lxc/remote.go:544 lxc/remote.go:606 lxc/remote.go:656 lxc/remote.go:694
 #, c-format
 msgid "Remote %s doesn't exist"
 msgstr ""
@@ -1866,7 +1866,7 @@ msgstr ""
 msgid "Remote %s exists as <%s>"
 msgstr ""
 
-#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:697
+#: lxc/remote.go:548 lxc/remote.go:610 lxc/remote.go:698
 #, c-format
 msgid "Remote %s is static and cannot be modified"
 msgstr ""
@@ -2067,14 +2067,10 @@ msgstr ""
 msgid "Set storage volume configuration keys"
 msgstr ""
 
-#: lxc/remote.go:672 lxc/remote.go:673
+#: lxc/remote.go:673 lxc/remote.go:674
 msgid "Set the URL for the remote"
 msgstr ""
 
-#: lxc/remote.go:634 lxc/remote.go:635
-msgid "Set the default remote"
-msgstr ""
-
 #: lxc/file.go:361
 msgid "Set the file's gid on push"
 msgstr ""
@@ -2290,6 +2286,10 @@ msgstr ""
 msgid "Swap (peak)"
 msgstr ""
 
+#: lxc/remote.go:635 lxc/remote.go:636
+msgid "Switch the default remote"
+msgstr ""
+
 #: lxc/alias.go:128
 msgid "TARGET"
 msgstr ""
@@ -3254,11 +3254,7 @@ msgstr ""
 msgid "set [<remote>:][<container>] <key> <value>"
 msgstr ""
 
-#: lxc/remote.go:633
-msgid "set-default <remote>"
-msgstr ""
-
-#: lxc/remote.go:671
+#: lxc/remote.go:672
 msgid "set-url <remote> <URL>"
 msgstr ""
 
@@ -3334,6 +3330,10 @@ msgstr ""
 msgid "storage"
 msgstr ""
 
+#: lxc/remote.go:634
+msgid "switch <remote>"
+msgstr ""
+
 #: lxc/info.go:255
 #, c-format
 msgid "taken at %s"


More information about the lxc-devel mailing list