Skip to content

New bridge logic is not detecting all bridgesΒ #4360

@jedis00

Description

@jedis00

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Unifi

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/unifi.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ Provide a clear and concise description of the issue.

9d21cea

This is causing vmbr0 to not show as selectable in the list, which doesn't give network access to containers when the default network device is vmbr0.

πŸ”„ Steps to reproduce the issue.

Here's the command the script runs:

# grep -B1 "bridge-" /etc/network/interfaces | grep "iface" | grep -Pv "^\s*#" | awk '{print $2}' | sort | uniq | while read bridge; do ip link show "$bridge" 2> /dev/null | grep -oP "$bridge"; done
vmbr1
vmbr2
vmbr3
vmbr4
vmbr5

❌ Paste the full error output (if available).

No error, other than you can't select the correct bridge.

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions