diff --git a/labs/scripts/osbash/base_fixups.sh b/labs/scripts/osbash/base_fixups.sh new file mode 100644 index 00000000..f6b89a66 --- /dev/null +++ b/labs/scripts/osbash/base_fixups.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +TOP_DIR=$(cd $(dirname "$0")/.. && pwd) +source "$TOP_DIR/config/paths" +source "$LIB_DIR/functions.guest" + +indicate_current_auto + +exec_logfile + +# This script is run by vm_install_base. It should work on all supported +# distributions. + +# match Vagrant which removes 70-persistent-net.rules (so we get the same +# names for our network interfaces) +sudo rm -f /etc/udev/rules.d/70-persistent-net.rules diff --git a/labs/scripts/osbash/wait_debug.sh b/labs/scripts/osbash/wait_debug.sh new file mode 100644 index 00000000..2bb41fe3 --- /dev/null +++ b/labs/scripts/osbash/wait_debug.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +TOP_DIR=$(cd $(dirname "$0")/.. && pwd) +source "$TOP_DIR/config/paths" +source "$LIB_DIR/functions.guest" + +indicate_current_auto + +exec_logfile + +# Wait for removal of /tmp/remove_to_continue +wait_for_file