fix: rename wireshark CLI to gns3-wireshark to avoid conflict

The wireshark CLI entry point creates /usr/bin/wireshark which conflicts
with the system wireshark package on Arch Linux (owned by wireshark-qt),
causing package installation to fail.

Rename to gns3-wireshark to follow the same naming convention as other
GNS3 CLI tools (gns3server, gns3vmnet).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
YueGuobin 2026-04-24 00:04:21 +08:00
parent 9d0bb4a592
commit 0b7c40a14a
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ python3 -m pip install gns3-server[dev]
**Web Wireshark** (Optional):
```shell
pip install gns3-server && gns3-wireshark-setup
pip install gns3-server && gns3-wireshark
```
Browser-based packet capture analysis using Wireshark in a Docker container.

View File

@ -10,7 +10,7 @@ This document describes how to manage GNS3 Web Wireshark containers using the ma
Before using Web Wireshark, you need to set up the Docker image:
```bash
pip install . && gns3-wireshark-setup
pip install . && gns3-wireshark
```
This will:

View File

@ -20,7 +20,7 @@
Setup Web Wireshark Docker image.
This script pulls or builds the gns3/web-wireshark Docker image.
Run with: pip install gns3server[wireshark] && gns3-wireshark-setup
Run with: pip install gns3server && gns3-wireshark
"""
import os

View File

@ -51,7 +51,7 @@ ai-copilot = {file = ['ai-requirements.txt']}
gns3server = "gns3server.main:main"
gns3vmnet = "gns3server.utils.vmnet:main"
gns3server-uninstall-ai-copilot = "gns3server.utils.uninstall_ai_copilot:main"
wireshark = "gns3server.agent.web_wireshark.setup_wireshark_image:main"
gns3-wireshark = "gns3server.agent.web_wireshark.setup_wireshark_image:main"
[tool.setuptools]
packages = ["gns3server"]