name: my_centos
config:
raw.lxc:
lxc.network.type = veth
lxc.network.name = eth0
lxc.network.link = lxcbr0
lxc.network.ipv4 = 10.0.3.50/24
lxc.network.ipv4.gateway = 10.0.3.1
lxc.network.flags = up
description: ""
devices:
eth0:
name: eth0
nictype: bridged
parent: lxcbr0
type: nic
标签:10.0,12,network,lxcbr0,lxc,eth0,name
From: https://www.cnblogs.com/youran-he/p/17350588.html