mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 15:29:56 +00:00
Avoid waiting for bridge interface if disabled in sysconfig/lxc | lxc-net via USE_LXC_BRIDGE
Signed-off-by: Torsten Fohrer <tfohrer@googlemail.com>
This commit is contained in:
parent
1a9eaaab20
commit
723d30f7ff
@ -51,6 +51,8 @@ fi
|
|||||||
# to start
|
# to start
|
||||||
wait_for_bridge()
|
wait_for_bridge()
|
||||||
{
|
{
|
||||||
|
[ "x$USE_LXC_BRIDGE" = "xtrue" ] || { return 0; }
|
||||||
|
|
||||||
local BRNAME try flags br
|
local BRNAME try flags br
|
||||||
[ -f "$sysconfdir"/lxc/default.conf ] || { return 0; }
|
[ -f "$sysconfdir"/lxc/default.conf ] || { return 0; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user