Skip to content

YAHM Netzwerk

Leonid Kogan edited this page May 12, 2016 · 10 revisions

Beschreibung folgt

YAHM Network management script

Usage Example: 

./yahm-network [FLAG] COMMAND
./yahm-network -n mycccu -b mybridge attach_bridge

Flags:
-n          - LXC container name.
-f          - Force operation (no halt on errors).
-v          - Verbose output 
-b          - Bridge name       (default=yahmbr0)
-i          - Interface name    (default=eth0)
-d          - Dry run (test configuration, without writing changes)
-w          - Write network changes 

Commands:
create_bridge   -  Creating new bridge for LXC Container
delete_bridge   -  Delete bridge and restore configuration
attach_bridge   -  Attach existing bridge to LXC container
dettach_bridge  -  Remove a bridge form LXC container
show_bridge     -  Show system bridges