<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 14, 2016 at 6:36 AM, Pino Toscano <span dir="ltr"><<a href="mailto:ptoscano@redhat.com" target="_blank">ptoscano@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">
</div></div>I'm not sure it makes sense to print the internal representation of the<br>
templates, since that could change anytime (like the format of the<br>
revision field, which changed between 1.30 and 1.32). We have the JSON<br>
output for getting the information about templates, so additions should<br>
be done there.</blockquote><div><br></div><div>I think virt-builder should have an option for normal people to print the full template info, but I guess that's up to you guys. I implemented it as -i/--info in my own virt-builder frontend by parsing the json, e.g.:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">$ mkvm --info r7.2<br>template : r7.2<br>osinfo : rhel7.2<br>compressed-size : 356163292<br>full-name : rsaw's Red Hat Enterprise Linux 7.2<br>hidden : False<br>arch : x86_64<br>size : 10737418240<br>notes:<br>Red Hat Enterprise Linux 7.2<br><br>THIS IMAGE IS NOT REGISTERED TO RHN/RHSM BUT IT DOES HAVE YUM REPOS<br>WHICH ARE ONLY AVAILABLE ON THE RH CORPORATE NETWORK.<br>REGARDLESS, DO NOT REDISTRIBUTE OUTSIDE OF RED HAT.<br><br>Details:<br>- Image in qcow2 format for easy snapshotting.<br>- LVM is used for rootfs & swap with default autopart settings so<br> that you see what customers see.<br>- GRUB timeout lowered from 5 to 2 sec.<br>- Serial console is enabled (GRUB and kernel/init) and is primary<br> which means you should use it for any rescue operations.<br>- The @base package group is installed (not just @core), along with:<br> screen, vim-enhanced, kernel-doc, sos, elinks, setools-console,<br> policycoreutils-python, psmisc, ntp, rsawaroha-release, xsos.<br>- All yum repos from DVD are enabled by default (base, Optional,<br> HighAvailability, and ResilientStorage) as is the Extras repo.<br> The debuginfo & source repos are also present, but disabled.<br>- RPM-GPG-KEY-redhat-release is already imported and gpgcheck=1<br> is set for all enabled repos.<br>- The kdump service is disabled.<br>- Console login screens (serial/tty) print IPv4 & IPv6 addrs of all<br> present NICs (thanks to update-etcissue-nics.service modifying<br> /etc/issue at boot time to add escapes for agetty).<br>- chronyd and ntpd are both configured with RH corporate timeservers<br> and settings suitable for virtual machines (chrony: "makestep 1 3";<br> ntp: "tinker panic 0"); however only chronyd is enabled.<br></blockquote> <br></div></div></div></div>