<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Sysadmin on iMil.net</title>
    <link>http://imil.net/blog/tags/sysadmin/</link>
    <description>Recent content in Sysadmin on iMil.net</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 08 Jun 2021 17:05:03 +0200</lastBuildDate>
    <atom:link href="http://imil.net/blog/tags/sysadmin/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Boot an Existing ZFS From a FreeBSD LiveCD</title>
      <link>http://imil.net/blog/posts/2021/boot-zfs-from-freebsd-livecd/</link>
      <pubDate>Tue, 08 Jun 2021 17:05:03 +0200</pubDate>
      <guid>http://imil.net/blog/posts/2021/boot-zfs-from-freebsd-livecd/</guid>
      <description>&lt;p&gt;Because I ran &lt;code&gt;gpart bootcode&lt;/code&gt; on the wrong partition of every replacement disk I swapped and because my motherboard is incapable of finding an &lt;em&gt;EFI&lt;/em&gt; partition, I basically bricked my &lt;em&gt;FreeBSD&lt;/em&gt; NAS / gateway.&lt;/p&gt;&#xA;&lt;p&gt;It took me a ridiculous amount of time in order to find how to boot into an existing &lt;em&gt;ZFS FreeBSD&lt;/em&gt; installation from a &lt;a href=&#34;https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/13.0/&#34;&gt;FreeBSD LiveCD&lt;/a&gt; (I used &lt;code&gt;mini-memstick&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;p&gt;Finally, in a &lt;a href=&#34;https://lists.freebsd.org/pipermail/freebsd-questions/2014-November/262384.html&#34;&gt;2014 thread from the FreeBSD questions mailing list&lt;/a&gt;, someone mentioned the magic invocation, and from there I deducted the remaining parts.&lt;/p&gt;</description>
    </item>
    <item>
      <title>au-to-ma-gic</title>
      <link>http://imil.net/blog/posts/2010/au-to-ma-gic/</link>
      <pubDate>Sat, 13 Feb 2010 01:08:59 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2010/au-to-ma-gic/</guid>
      <description>&lt;p&gt;Au boulot, j&amp;rsquo;ai élu une solution de déploiement à haute teneur en convivialité qui m&amp;rsquo;a été suggérée par &lt;a href=&#34;http://www.rottenbytes.info/&#34;&gt;nico&lt;/a&gt;, j&amp;rsquo;ai nommé &lt;a href=&#34;http://docs.fabfile.org/0.9.0/&#34;&gt;fabric&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Ce soft à l&amp;rsquo;utilisation simplissime permet en un tournemain de réaliser des opérations complexes en masse sur une architecture distante en utilisant le protocole &lt;a href=&#34;http://fr.wikipedia.org/wiki/Secure_Shell&#34;&gt;SSH&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Si la documentation de la plupart des fonctions est clarissime, l&amp;rsquo;une d&amp;rsquo;entre elles, qui pourtant me semblait avoir un fort potentiel loutresque, n&amp;rsquo;était pas très clairement exposée: &lt;code&gt;upload_template&lt;/code&gt;.&#xA;Cette fonction, comme son nom semble l&amp;rsquo;indiquer, permet d&amp;rsquo;envoyer sur un serveur distant un fichier &amp;ldquo;template&amp;rdquo; en ayant préalablement remplacé des variables par le contenu souhaité. Après un peu de lecture du code source de &lt;em&gt;fabric&lt;/em&gt;, la subtilité de son utilisation m&amp;rsquo;est apparue.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
