aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning
diff options
context:
space:
mode:
authorHeikki Halmet <heikki.halmet@qt.io>2020-10-28 14:38:26 +0200
committerHeikki Halmet <heikki.halmet@qt.io>2020-10-28 15:26:56 +0200
commitefd24d2c41b7d8e07941133633b1580851761bb0 (patch)
tree025cd3a288f134e56cdd58c291d12480af40eb23 /coin/provisioning
parent96eb6a5f2c1652e4fa1c8941150d2778499d618d (diff)
Provisioning: Remove Network Managers secret key
Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key. New unique secret key will be generated automatically during boot up Task-number: QTBUG-84254 Change-Id: Ic229c4e0ffd5bb708894131238a70c04eb1b5b98 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'coin/provisioning')
-rw-r--r--coin/provisioning/qtci-linux-CentOS-8.1-x86_64/01-remove_network_manager_secret_key.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-linux-CentOS-8.1-x86_64/01-remove_network_manager_secret_key.sh b/coin/provisioning/qtci-linux-CentOS-8.1-x86_64/01-remove_network_manager_secret_key.sh
new file mode 100644
index 00000000..5ed44f2d
--- /dev/null
+++ b/coin/provisioning/qtci-linux-CentOS-8.1-x86_64/01-remove_network_manager_secret_key.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+# Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key
+# New unique secret key will be created automatically during start up.
+# https://access.redhat.com/solutions/3553581
+echo "Removing secret_key"
+sudo rm -f "/var/lib/NetworkManager/secret_key"
+
+