[virt-tools-list] [virt-manager][PATCH v2 1/3] Improve container image url examples

Cédric Bosdonnat cbosdonnat at suse.com
Tue Dec 19 16:32:17 UTC 2017


From: Cédric Bosdonnat <cedric.bosdonnat at free.fr>

Replace the docker://fedora placeholder by a tooltip that shows more of the
possible values (taken from virt-bootstrap's man page). Finding an image
that has a /sbin/init on the docker hub is rather hard, better remove
the misleading value.
---
 ui/create.ui | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/ui/create.ui b/ui/create.ui
index dd50cdf0..14dafde0 100644
--- a/ui/create.ui
+++ b/ui/create.ui
@@ -1776,7 +1776,12 @@ connections is not yet supported.</small></property>
                                                     <child internal-child="entry">
                                                       <object class="GtkEntry" id="install-oscontainer-source-url-entry">
                                                         <property name="can_focus">True</property>
-                                                        <property name="placeholder_text" translatable="yes">docker://fedora</property>
+                                                        <property name="tooltip_text" translatable="yes">Possible URL formats:
+ * file:///path/to/rootfs.tar
+ * docker://registry:port/image:tag
+ * virt-builder://template
+</property>
+
                                                       </object>
                                                     </child>
                                                   </object>
-- 
2.15.1




More information about the virt-tools-list mailing list