#!/bin/bash - # Run the talk. set -e # Avoid GNOME keyring stupidity export GNOME_KEYRING_CONTROL= export GNOME_KEYRING_PID= # No proxy. unset http_proxy unset https_proxy unset ftp_proxy # Don't use libvirt. export LIBGUESTFS_BACKEND=direct # Pre-cache libguestfs appliance. guestfish -a /dev/null run & # Clean up after previous run. talkdir=$PWD ./restore # Check environment. if [ ! -d /mnt/scratch/pipes ]; then echo "Error: no remote server." exit 1 fi if [ ! -f /mnt/scratch/pipes/fedora-33.img ]; then echo "Error: no remote file." exit 1 fi # Precreate any files necessary. if [ ! -f fedora-33.img ]; then virt-builder fedora-33 fi # Run techtalk. #techtalk-pse "$@" ~/d/techtalk-pse/techtalk-pse "$@"