summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-07-16 21:50:51 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-07-16 21:50:51 +0200
commit911edf13676a9028d2c5c893248c9a1bde1dfa09 (patch)
treea63ba01d5e65417d196fb9e32da86df5297c704e /install.sh
parentpreseed: fix force namepolicy (diff)
final tests with net ifname namepolicy succeeded
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"