[lxc-devel] [lxd/master] Make the <remote>/<alias> syntax work

stgraber on Github lxc-bot at linuxcontainers.org
Wed Feb 14 04:13:52 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/20180214/c6286ec9/attachment.bin>
-------------- next part --------------
From e4f374659f0dd9c935c86548b83d486579112b4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 13 Feb 2018 23:12:54 -0500
Subject: [PATCH 1/2] lxc: Make the <remote>/<alias> syntax work
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/init.go | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/lxc/init.go b/lxc/init.go
index caa3ce84a..b0005e029 100644
--- a/lxc/init.go
+++ b/lxc/init.go
@@ -328,7 +328,8 @@ func (c *initCmd) guessImage(conf *config.Config, d lxd.ContainerServer, remote
 		return iremote, image
 	}
 
-	_, ok := conf.Remotes[image]
+	fields := strings.SplitN(image, "/", 2)
+	_, ok := conf.Remotes[fields[0]]
 	if !ok {
 		return iremote, image
 	}
@@ -343,8 +344,13 @@ func (c *initCmd) guessImage(conf *config.Config, d lxd.ContainerServer, remote
 		return iremote, image
 	}
 
-	fmt.Fprintf(os.Stderr, i18n.G("The local image '%s' couldn't be found, trying '%s:' instead.")+"\n", image, image)
-	return image, "default"
+	if len(fields) == 1 {
+		fmt.Fprintf(os.Stderr, i18n.G("The local image '%s' couldn't be found, trying '%s:' instead.")+"\n", image, fields[0])
+		return fields[0], "default"
+	}
+
+	fmt.Fprintf(os.Stderr, i18n.G("The local image '%s' couldn't be found, trying '%s:%s' instead.")+"\n", image, fields[0], fields[1])
+	return fields[0], fields[1]
 }
 
 func (c *initCmd) checkNetwork(d lxd.ContainerServer, name string) {

From c959f0b75795eb2f1c4d72b63ab1d0297b10773e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 13 Feb 2018 23:13:16 -0500
Subject: [PATCH 2/2] 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      | 15 ++++++++++-----
 po/el.po      | 15 ++++++++++-----
 po/es.po      | 15 ++++++++++-----
 po/fi.po      | 15 ++++++++++-----
 po/fr.po      | 15 ++++++++++-----
 po/id.po      | 15 ++++++++++-----
 po/it.po      | 15 ++++++++++-----
 po/ja.po      | 16 +++++++++++-----
 po/lxd.pot    | 15 ++++++++++-----
 po/nb_NO.po   | 15 ++++++++++-----
 po/nl.po      | 15 ++++++++++-----
 po/pl.po      | 15 ++++++++++-----
 po/pt_BR.po   | 15 ++++++++++-----
 po/ru.po      | 15 ++++++++++-----
 po/sr.po      | 15 ++++++++++-----
 po/sv.po      | 15 ++++++++++-----
 po/tr.po      | 15 ++++++++++-----
 po/zh.po      | 15 ++++++++++-----
 po/zh_Hans.po | 15 ++++++++++-----
 19 files changed, 191 insertions(+), 95 deletions(-)

diff --git a/po/de.po b/po/de.po
index c1499fda8..5ad591a76 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: 2017-02-14 17:11+0000\n"
 "Last-Translator: Tim Rose <tim at netlope.de>\n"
 "Language-Team: German <https://hosted.weblate.org/projects/linux-containers/"
@@ -1359,7 +1359,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1374,7 +1374,12 @@ msgstr "entfernte Instanz %s existiert bereits"
 msgid "The device doesn't exist"
 msgstr "entfernte Instanz %s existiert nicht"
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1420,11 +1425,11 @@ msgstr "Wartezeit bevor der Container gestoppt wird."
 msgid "Timestamps:"
 msgstr "Zeitstempel:\n"
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/el.po b/po/el.po
index caee1c932..833dc5c73 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\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/"
@@ -1216,7 +1216,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1229,7 +1229,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1270,11 +1275,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/es.po b/po/es.po
index 13cb6bff2..778a7845e 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/fi.po b/po/fi.po
index 1b0f24715..a14268a79 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/fr.po b/po/fr.po
index 4781025c9..43ad7a968 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: 2018-01-02 10:52+0000\n"
 "Last-Translator: Bruno Perel <brunoperel at gmail.com>\n"
 "Language-Team: French <https://hosted.weblate.org/projects/linux-containers/"
@@ -1345,7 +1345,7 @@ msgstr ""
 "Le conteneur est en cours d'exécution. Utiliser --force pour qu'il soit "
 "arrêté et redémarré."
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 "Le conteneur que vous démarrez n'est attaché à aucune interface réseau."
@@ -1360,7 +1360,12 @@ msgstr "Le périphérique n'existe pas"
 msgid "The device doesn't exist"
 msgstr "Le périphérique n'existe pas"
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, fuzzy, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr "L'image locale '%s' n'a pas été trouvée, essayer '%s:' à la place."
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr "L'image locale '%s' n'a pas été trouvée, essayer '%s:' à la place."
@@ -1408,11 +1413,11 @@ msgstr "Temps d'attente du conteneur avant de le tuer"
 msgid "Timestamps:"
 msgstr "Horodatage :"
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr "Pour attacher un réseau à un conteneur, utiliser : lxc network attach"
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr "Pour créer un réseau, utiliser : lxc network create"
 
diff --git a/po/id.po b/po/id.po
index f50e3d0aa..bbcebd579 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/it.po b/po/it.po
index ac756756a..5a1173e44 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\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/"
@@ -1236,7 +1236,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1249,7 +1249,12 @@ msgstr "La periferica esiste già"
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1291,11 +1296,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/ja.po b/po/ja.po
index 97b19cf19..86d9aeea6 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: 2018-01-02 10:52+0000\n"
 "Last-Translator: KATOH Yasufumi <karma at jazz.email.ne.jp>\n"
 "Language-Team: Japanese <https://hosted.weblate.org/projects/linux-"
@@ -1219,7 +1219,7 @@ msgstr ""
 "コンテナは現在実行中です。停止して、再起動するために --force を使用してくだ\n"
 "さい。"
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr "起動しようとしたコンテナに接続されているネットワークがありません。"
 
@@ -1232,7 +1232,13 @@ msgstr "デバイスはすでに存在します"
 msgid "The device doesn't exist"
 msgstr "デバイスが存在しません"
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, fuzzy, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+"ローカルイメージ '%s' が見つかりません。代わりに '%s:' を試してみてください。"
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1281,12 +1287,12 @@ msgstr "コンテナを強制停止するまでの時間"
 msgid "Timestamps:"
 msgstr "タイムスタンプ:"
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 "コンテナにネットワークを接続するには、lxc network attach を使用してください"
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 "新しいネットワークを作成するには、lxc network create を使用してください"
diff --git a/po/lxd.pot b/po/lxd.pot
index 872108314..0b67f16c1 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-02-11 00:08-0500\n"
+        "POT-Creation-Date: 2018-02-13 23:12-0500\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"
@@ -1193,7 +1193,7 @@ msgstr  ""
 msgid   "The container is currently running. Use --force to have it stopped and restarted."
 msgstr  ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid   "The container you are starting doesn't have any network attached to it."
 msgstr  ""
 
@@ -1205,7 +1205,12 @@ msgstr  ""
 msgid   "The device doesn't exist"
 msgstr  ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid   "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr  ""
+
+#: lxc/init.go:348
 #, c-format
 msgid   "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr  ""
@@ -1245,11 +1250,11 @@ msgstr  ""
 msgid   "Timestamps:"
 msgstr  ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid   "To attach a network to a container, use: lxc network attach"
 msgstr  ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid   "To create a new network, use: lxc network create"
 msgstr  ""
 
diff --git a/po/nb_NO.po b/po/nb_NO.po
index d9a7dab19..cda2c531a 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/nl.po b/po/nl.po
index 382ebb5d1..c45d957ba 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/pl.po b/po/pl.po
index 4254f9931..a02c3cc8c 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 2d4202a78..0078986aa 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/ru.po b/po/ru.po
index 8bbcf1fcb..71e02974f 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: 2017-09-05 16:48+0000\n"
 "Last-Translator: Ilya Yakimavets <ilya.yakimavets at backend.expert>\n"
 "Language-Team: Russian <https://hosted.weblate.org/projects/linux-containers/"
@@ -1301,7 +1301,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1314,7 +1314,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1355,11 +1360,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/sr.po b/po/sr.po
index 1b658d2e3..36ba1c6af 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/sv.po b/po/sv.po
index d98e8f286..caf7feb2a 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/tr.po b/po/tr.po
index c4209bf1c..8946ac698 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/zh.po b/po/zh.po
index 554e48131..5fb98ce5f 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 
diff --git a/po/zh_Hans.po b/po/zh_Hans.po
index 12fd1bd96..b1a30d6b5 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-02-11 00:08-0500\n"
+"POT-Creation-Date: 2018-02-13 23:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -1209,7 +1209,7 @@ msgid ""
 "restarted."
 msgstr ""
 
-#: lxc/init.go:362
+#: lxc/init.go:368
 msgid "The container you are starting doesn't have any network attached to it."
 msgstr ""
 
@@ -1222,7 +1222,12 @@ msgstr ""
 msgid "The device doesn't exist"
 msgstr ""
 
-#: lxc/init.go:346
+#: lxc/init.go:352
+#, c-format
+msgid "The local image '%s' couldn't be found, trying '%s:%s' instead."
+msgstr ""
+
+#: lxc/init.go:348
 #, c-format
 msgid "The local image '%s' couldn't be found, trying '%s:' instead."
 msgstr ""
@@ -1263,11 +1268,11 @@ msgstr ""
 msgid "Timestamps:"
 msgstr ""
 
-#: lxc/init.go:364
+#: lxc/init.go:370
 msgid "To attach a network to a container, use: lxc network attach"
 msgstr ""
 
-#: lxc/init.go:363
+#: lxc/init.go:369
 msgid "To create a new network, use: lxc network create"
 msgstr ""
 


More information about the lxc-devel mailing list