Slides 3000.
[libguestfs-talks.git] / 2021-pipelines / 2400-boot-snapshot.html
1 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
2 <link rel="stylesheet" href="style.css" type="text/css"/>
3 <script src="code.js" type="text/javascript"></script>
4
5 <h1>Booting over SSH with a snapshot</h1>
6
7 <pre>
8 ┌───────────────┐  ssh   ┌───────────────┐
9 │ fedora-33.img │───────▶│ qcow2 file    │───────▶ qemu
10 └───────────────┘        └───────────────┘
11  remote server                    local machine
12 </pre>
13
14 <br/><br/>
15
16 <pre>
17 qemu-img create -f qcow2 \
18          -b <b>ssh://remote/path/to/fedora-33.img</b> snapshot.qcow2
19 qemu -drive file=<b>snapshot.qcow2</b> ...
20 </pre>