summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-07-16 21:51:02 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-07-16 21:51:02 +0200
commitfda8b1d384178b45ff2dc0759a76278fa3525e2c (patch)
tree1bbd8ac1643e1a4fae977c78db35955868f39f9f /install.sh
parentch-router: make firewall script a little bit nicer (diff)
parentfinal tests with net ifname namepolicy succeeded (diff)
Merge branch 'buster-unpredictable-network-ifnames'
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index d60cc56e..b4f2c187 100755
--- a/install.sh
+++ b/install.sh
@@ -23,5 +23,9 @@ echo "########## clearing old ssh host keys #########"
./remove-known-host.sh "$name"
echo ""
+echo "########## removing cached facts #########"
+rm -f ".cache/facts/$name"
+echo ""
+
echo "######## running the install playbook ########"
exec ansible-playbook -e "hostname=$name" -e "install_distro=$distro" -e "install_codename=$codename" -e "hostenv=$env_group" $@ "$env_group/$(basename "$0" .sh).yml"