<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Libvirt on A Random Walk Down Tech Street</title>
    <link>https://dustymabe.com/tags/libvirt/</link>
    <description>Recent content in Libvirt on A Random Walk Down Tech Street</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 30 Jan 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://dustymabe.com/tags/libvirt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>virt-install: boot from specific kernel/initrd just for install</title>
      <link>https://dustymabe.com/2020/01/30/virt-install-boot-from-specific-kernel/initrd-just-for-install/</link>
      <pubDate>Thu, 30 Jan 2020 00:00:00 +0000</pubDate>
      <guid>https://dustymabe.com/2020/01/30/virt-install-boot-from-specific-kernel/initrd-just-for-install/</guid>
      <description>&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;For some time now with&#xA;&lt;a href=&#34;https://www.mankier.com/1/virt-install&#34;&gt;virt-install&lt;/a&gt;&#xA;(developed under &lt;a href=&#34;https://virt-manager.org/&#34;&gt;virt-manager&lt;/a&gt;)&#xA;you have been able to specify a kernel and initial ramdisk to&#xA;start a VM with. The only problem is that the VM will always&#xA;start with that kernel/initrd (unless you change the definition&#xA;manually). If you are rapidly testing operating system installations&#xA;this can be problematic.&lt;/p&gt;&#xA;&lt;p&gt;On the one hand, providing the kernel/initrd allows one to automate&#xA;the install process from a Linux terminal, or even a script, by&#xA;specifying the kernel/initrd and also the kernel command line options.&#xA;However, it only gives us half the picture, because you&amp;rsquo;d then have to&#xA;hand edit the libvirt definition of the machine to see if the&#xA;installed machine was viable, &lt;strong&gt;OR&lt;/strong&gt; you&amp;rsquo;d be lazy and just throw away&#xA;the installed machine and assume it was good because the installation&#xA;process finished without error; &lt;strong&gt;BAD&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Update on Easy PXE boot testing post: minus PXELINUX</title>
      <link>https://dustymabe.com/2019/09/13/update-on-easy-pxe-boot-testing-post-minus-pxelinux/</link>
      <pubDate>Fri, 13 Sep 2019 00:00:00 +0000</pubDate>
      <guid>https://dustymabe.com/2019/09/13/update-on-easy-pxe-boot-testing-post-minus-pxelinux/</guid>
      <description>&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;This is an update to my&#xA;&lt;a href=&#34;https://dustymabe.com/2019/01/04/easy-pxe-boot-testing-with-only-http-using-ipxe-and-libvirt/&#34;&gt;previous post&lt;/a&gt;&#xA;about easily testing PXE booting by using libvirt + iPXE.&lt;/p&gt;&#xA;&lt;p&gt;Several people have notified me (thanks Lukas Zapletal and others) that instead&#xA;of leveraging&#xA;&lt;a href=&#34;https://wiki.syslinux.org/wiki/index.php?title=PXELINUX&#34;&gt;PXELINUX&lt;/a&gt;&#xA;that I could just use an iPXE script to do the same thing. I hadn&amp;rsquo;t&#xA;used iPXE much so here&amp;rsquo;s an update on how to achieve the same goal&#xA;using an iPXE script instead of a PXELINUX binary+config.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Easy PXE boot testing with only HTTP using iPXE and libvirt</title>
      <link>https://dustymabe.com/2019/01/04/easy-pxe-boot-testing-with-only-http-using-ipxe-and-libvirt/</link>
      <pubDate>Fri, 04 Jan 2019 00:00:00 +0000</pubDate>
      <guid>https://dustymabe.com/2019/01/04/easy-pxe-boot-testing-with-only-http-using-ipxe-and-libvirt/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: A future&#xA;&lt;a href=&#34;https://dustymabe.com/2019/09/13/update-on-easy-pxe-boot-testing-post-minus-pxelinux/&#34;&gt;post&lt;/a&gt;&#xA;explains how to do this even easier without PXELINUX.&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;Occasionally I have a need to test out a PXE install workflow. All of&#xA;this is super easy if you have a permanent PXE infrastructure you maintain&#xA;which traditionally has consisted of DHCP, TFTP and HTTP/FTP servers.&#xA;What if I just have my laptop and want to test something in a VM? It turns&#xA;out it&amp;rsquo;s pretty easy to do using libvirt and a simple http server.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
