mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-07 23:46:51 +08:00
This ensures that link-local IPv6 address is unique per each VM. Task-number: QTQAINFRA-7383 Pick-to: 6.10 6.9 6.8 6.5 Change-Id: I53434ec3a158cec09f03c96087a401ef05f47b86 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
10 lines
373 B
Bash
Executable File
10 lines
373 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (C) 2025 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
# Delete GCA plists and leases plist to force their regeneration after next reboot
|
|
# This avoids IPv6 link-local address collision that would happen with
|
|
# multiple VMs from same image.
|
|
|
|
sudo rm -rf /var/db/dhcpclient
|