Slides 2000.
[libguestfs-talks.git] / 2021-pipelines / 2400-boot-snapshot.html
diff --git a/2021-pipelines/2400-boot-snapshot.html b/2021-pipelines/2400-boot-snapshot.html
new file mode 100644 (file)
index 0000000..e56cffa
--- /dev/null
@@ -0,0 +1,20 @@
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<link rel="stylesheet" href="style.css" type="text/css"/>
+<script src="code.js" type="text/javascript"></script>
+
+<h1>Booting over SSH with a snapshot</h1>
+
+<pre>
+┌───────────────┐  ssh   ┌───────────────┐
+│ fedora-33.img │───────▶│ qcow2 file    │───────▶ qemu
+└───────────────┘        └───────────────┘
+ remote server                    local machine
+</pre>
+
+<br/><br/>
+
+<pre>
+qemu-img create -f qcow2 \
+         -b <b>ssh://remote/path/to/fedora-33.img</b> snapshot.qcow2
+qemu -drive file=<b>snapshot.qcow2</b> ...
+</pre>