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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Cédric Bosdonnat <cedric.bosdonnat@xxxxxxx>

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.&lt;/small&gt;</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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux