[root@localhost oel7fscm]# cat config
# Template used to create this container: /usr/share/lxc/templates/lxc-oracle
# Parameters passed to the template: --release=7.latest --privileged=rt
# For additional config options, please look at lxc.container.conf(5)
# lxc.network.type = veth
# lxc.network.link = lxcbr0
# lxc.network.flags = up
lxc.network.type = macvlan
lxc.network.macvlan.mode = bridge
lxc.network.flags = up
lxc.network.link = ens32
lxc.network.hwaddr = 00:16:3e:16:00:b5
lxc.rootfs = /container/oel7fscm/rootfs
# Common configuration
lxc.include = /usr/share/lxc/config/oracle.privileged.conf
# Container configuration for Oracle Linux 7.latest
lxc.arch = x86_64
lxc.utsname = oel7fscm
# The following 3 hooks is for dynamic RT management
lxc.hook.pre-start=/usr/share/lxc/hooks/oracle-priv
lxc.hook.mount=/usr/share/lxc/hooks/oracle-priv
lxc.hook.post-stop=/usr/share/lxc/hooks/oracle-priv
# Networking
lxc.network.name = eth0
lxc.network.mtu = 1500
# lxc.network.name = eth1
# lxc.network.name = eth2
# lxc.network.name = eth3
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.name = eth1
lxc.network.hwaddr = 00:16:3e:77:68:68
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.name = eth2
lxc.network.hwaddr = 00:16:3e:77:68:69
[root@localhost oel7fscm]#
No comments:
Post a Comment