Gunnar

nordisk/gunnar

assets/gunnar-setup-4.svg

<svg xmlns="http://www.w3.org/2000/svg" width="840" height="384" viewBox="0 0 840 384" font-family="monospace" font-size="13">
  <!-- GENERATED by `cargo xtask svg` from xtask/src/setup_svg.rs. Do not hand-edit:
       every arrow starts on the box the verb is typed against, and moving a line
       instead of the model is how a diagram starts telling an operator to run
       `promote` on the wrong machine. -->
  <style>
    .box{rx:6;ry:6;stroke-width:1.5}
    .dim{fill:#9a948a}
    .hdr{fill:#e8e4da;font-size:15px;font-weight:bold}
    .kick{fill:#9a948a;font-size:11px}
    .name{fill:#e8e4da;font-size:14px;font-weight:bold}
    .verb{font-size:12px;font-weight:bold}
    .note{fill:#9a948a;font-size:11px}
    .flow{stroke:#6fd3f5;stroke-width:1.6;fill:none;marker-end:url(#flow)}
    .flip{stroke:#4fae76;stroke-width:1.6;fill:none;marker-end:url(#flip);stroke-dasharray:4 3}
  </style>
  <defs>
    <marker id="flow" markerWidth="9" markerHeight="9" refX="7" refY="3" orient="auto"><path d="M0,0 L7,3 L0,6 Z" fill="#6fd3f5"/></marker>
    <marker id="flip" markerWidth="9" markerHeight="9" refX="7" refY="3" orient="auto"><path d="M0,0 L7,3 L0,6 Z" fill="#4fae76"/></marker>
  </defs>
  <rect width="840" height="384" fill="#14110d"/>
  <text x="16" y="28" class="hdr">§4 · building gunnar</text>
  <text x="16" y="50" class="dim">the medium is built on a laptop and boots straight into the main device</text>
  <g transform="translate(-8 -130)">
  <text x="300" y="206" class="kick">the main device</text>
  <rect class="box" x="300" y="214" width="280" height="120" fill="#123448" stroke="#4f9ec0"/>
  <text x="312" y="238" class="name">primary appliance</text>
  <text x="312" y="258" class="dim">writable — clients push here</text>
  <text x="312" y="275" class="dim">git-ssh :2222 · control :50051</text>
  <text x="312" y="292" class="dim">/data survives a reinstall</text>
  <text x="24" y="372" class="kick">you</text>
  <rect class="box" x="24" y="380" width="296" height="96" fill="#22201c" stroke="#9a948a"/>
  <text x="36" y="404" class="name">your laptop</text>
  <text x="36" y="424" class="dim">cargo xtask iso-installer</text>
  <text x="36" y="441" class="dim">.iso-out/gunnar-installer-*.iso</text>
  <text x="36" y="458" class="dim">install-test pair (KVM) · or dd</text>
  <path class="flow" d="M164,374 L164,274 L294,274"/>
  <text x="290" y="250" text-anchor="end" class="verb" fill="#6fd3f5">boot the medium</text>
  <text x="290" y="265" text-anchor="end" class="note">the machine IS the appliance</text>
  </g>
  <text x="16" y="370" class="dim">`--build kernel` when the pinned kernel toolchain image is on the build box; else `--opt wireguard=off`</text>
</svg>