forked from antrea-io/antrea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ci/test-e2e-kind.sh script on macOS (antrea-io#6117)
The script was failing with: ``` Deleting VLAN subnets Option "-br" is unknown, try "ip help". ``` when cleaning-up a test cluster. This is because the ip command on macOS only supports a subset of the command-line options supported on Linux. In any case, on macOS, the command needs be wrapped with docker_run_with_host_net, since we are looking for VLAN interfaces running in the Docker Linux VM. As a minor improvement, we also add the "antrea" prefix to the external server container we create, along with a short random suffix ($RANDOM is sufficient for this) to avoid possible conflicts. Fixes antrea-io#6022 Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
- Loading branch information
1 parent
01694ee
commit bf06790
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters