X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=2013-centos-dojo%2Frun;fp=2013-centos-dojo%2Frun;h=666ad7ec69a5d1cb9c176ffb56139de7f65a26c1;hb=eed15533b6550973262caa78e91d8f6e6a3bfb4d;hp=0000000000000000000000000000000000000000;hpb=5eda52f09fbd44c519638ae6505d94e0d91032f4;p=libguestfs-talks.git diff --git a/2013-centos-dojo/run b/2013-centos-dojo/run new file mode 100755 index 0000000..666ad7e --- /dev/null +++ b/2013-centos-dojo/run @@ -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