Abstract title and print blank lines to skip Bluejeans video window.
[libguestfs-talks.git] / 2019-fosdem / 2200-partitioning.term
1 #!/bin/bash -
2
3 source functions
4
5 # Title.
6 export title="Create partitions"
7
8 # History.
9 remember 'ls'
10 remember 'nbdkit partitioning boot.img mbr-id=0x82 swap.img mbr-id=0x83 root.img'
11 remember 'sudo nbd-client -b 512 localhost /dev/nbd0'
12 remember 'ls -l /dev/nbd0*'
13 remember 'sudo fdisk -l /dev/nbd0'
14 remember 'sudo mount /dev/nbd0p3 /tmp/mnt'
15 remember 'ls -l /tmp/mnt'
16 remember 'cat /tmp/mnt/etc/fedora-release'
17 remember 'touch /tmp/mnt/hello-fosdem'
18
19 ./restore
20 pushd 2200-partitioning.d >/dev/null
21 terminal
22 popd >/dev/null