more work on intro slides
[eblake-techtalks.git] / 2800-introduction-files.term
blob885581718fdd142dca2543dba6c0537ae0c7ca91
1 #!/bin/bash
2 # -*- sh-mode -*-
4 source functions
6 # Title.
7 export title="Preparing files for a guest"
9 # History.
10 remember 'virt-builder fedora-32 -o Base1.qcow2 --format=qcow2 --hostname=f32 --ssh-inject=root --root-password=password:12345 --selinux-relabel'
11 remember 'qemu-img create -f qcow2 Base2.qcow2 100M'
12 remember ''
14 pushd $talkdir/demo.d >/dev/null
15 rm -f Base1.qcow2 Base2.qcow2
16 terminal
17 if [ ! -f ../backup.d/Base1.qcow2 ]; then
18 rm -f ../backup.d/Base?.qcow2
19 ln Base1.qcow2 Base2.qcow2 ../backup.d/
21 popd >/dev/null