qubes-linux-template-builder/scripts_debian/gnome/04_install_qubes_post.sh

27 lines
900 B
Bash
Raw Normal View History

2014-10-27 06:29:07 +00:00
#!/bin/bash
# vim: set ts=4 sw=4 sts=4 et :
#
# Whonix Post Install Steps (after qubes install)
#
# ------------------------------------------------------------------------------
# Source external scripts
# ------------------------------------------------------------------------------
2014-10-28 08:09:55 +00:00
. ${SCRIPTSDIR}/vars.sh
2014-10-27 06:29:07 +00:00
# ------------------------------------------------------------------------------
# Configurations
# ------------------------------------------------------------------------------
2014-10-28 08:09:55 +00:00
if [ "${VERBOSE}" -ge 2 -o "${DEBUG}" == "1" ]; then
2014-10-27 06:29:07 +00:00
set -x
else
set -e
fi
# ------------------------------------------------------------------------------
# Disable gnome network-manager since it will prevent networking
# ------------------------------------------------------------------------------
debug "Disabling gnome network-manager"
2014-10-28 08:09:55 +00:00
chroot "${INSTALLDIR}" systemctl disable network-manager