mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-05-02 20:39:11 +00:00
lxc-net: don't start by default inside lxc
When lxc is installed inside an lxc container, trying to bring up lxc-net with the default parameters will conflict with the networking setup for lxc on the host. This breaks all networking inside the container where lxc is installed. Signed-off-by: Antonio Terceiro <terceiro@debian.org>
This commit is contained in:
parent
7e37cc96bb
commit
ca4c25c6e9
@ -3,6 +3,7 @@ Description=LXC network bridge setup
|
|||||||
After=network-online.target
|
After=network-online.target
|
||||||
Before=lxc.service
|
Before=lxc.service
|
||||||
Documentation=man:lxc
|
Documentation=man:lxc
|
||||||
|
ConditionVirtualization=!lxc
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
Reference in New Issue
Block a user