From 99ef1072fa0dfa45140cf11dcd25abf47e535b5d Mon Sep 17 00:00:00 2001 From: Jason Mehring Date: Sun, 26 Oct 2014 14:55:22 -0400 Subject: [PATCH] Convert tabs in hosts file to spaces so qubes can parse it correctly --- scripts_debian/04_install_qubes.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts_debian/04_install_qubes.sh b/scripts_debian/04_install_qubes.sh index c5067b4..47530d4 100755 --- a/scripts_debian/04_install_qubes.sh +++ b/scripts_debian/04_install_qubes.sh @@ -188,6 +188,13 @@ EOF # - font fixes for display issues # -------------------------------------------------------------------------- copyTree "qubes-files" "${SCRIPTSDIR}" "${INSTALLDIR}" + + # -------------------------------------------------------------------------- + # Looks like hosts file may contain tabs and qubes will not parse it + # correctly + # -------------------------------------------------------------------------- + expand "${INSTALLDIR}/etc/hosts" > "${INSATLLDIR}/etc/hosts.dist" + mv "${INSTALLDIR}/etc/hosts.dist" "${INSATLLDIR}/etc/hosts" fi # ------------------------------------------------------------------------------