Add 2013 CentOS Dojo Aldershot talk.
[libguestfs-talks.git] / 2013-centos-dojo / run
diff --git a/2013-centos-dojo/run b/2013-centos-dojo/run
new file mode 100755 (executable)
index 0000000..666ad7e
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash -
+# Run the talk.
+
+# Avoid GNOME keyring stupidity
+export GNOME_KEYRING_CONTROL=
+export GNOME_KEYRING_PID=
+
+# Clean up everything.
+find -name '*~' -delete
+
+# Get everything into the cache.
+guestfish -a /dev/null run > /dev/null
+
+if [ "`hostname`" = "choo.home.annexia.org" ]; then
+  # SELinux permissive(!)  This is because of a libvirt bug.
+  sudo setenforce Permissive
+
+  # Make sure the disk images are owned by root.disk.
+  sudo chown root.disk /dev/fedora/{archlinux20121201x64,f18*,f20*,ubuntu*,win*}
+fi
+
+# Run techtalk.
+techtalk-pse