flamegraphs: Improve the title page
[libguestfs-talks.git] / 2013-centos-dojo / run
1 #!/bin/bash -
2 # Run the talk.
3
4 # Avoid GNOME keyring stupidity
5 export GNOME_KEYRING_CONTROL=
6 export GNOME_KEYRING_PID=
7
8 # Clean up everything.
9 find -name '*~' -delete
10
11 # Get everything into the cache.
12 guestfish -a /dev/null run > /dev/null
13
14 if [ "`hostname`" = "choo.home.annexia.org" ]; then
15   # SELinux permissive(!)  This is because of a libvirt bug.
16   sudo setenforce Permissive
17
18   # Make sure the disk images are owned by root.disk.
19   sudo chown root.disk /dev/fedora/{archlinux20121201x64,f18*,f20*,ubuntu*,win*}
20 fi
21
22 # Run techtalk.
23 techtalk-pse