Created
September 12, 2016 22:51
-
-
Save bbyhuy/e642fafdf8b24a7accb141180fbd5607 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@osa-controller-3:~# cat /var/lib/lxc/infra3_heat_engine_container-37127731/*.ini | |
# Ansible managed: /etc/ansible/roles/lxc_container_create/templates/container-interface.ini.j2 modified on 2016-09-12 14:48:53 by root on osa-deployment | |
# Create a veth pair within the container | |
lxc.network.type = veth | |
# Network device within the container | |
lxc.network.name = eth2.41 | |
# Name the veth after the container | |
# NOTE(major): The lxc.network.veth.pair line must appear right after | |
# lxc.network.name or it will be ignored. | |
lxc.network.veth.pair = 7127731_eth2.41 | |
# Host link to attach to, this should be a bridge if lxc.network.type = veth | |
lxc.network.link = br-mgmt | |
# Hardware Address | |
lxc.network.hwaddr = 00:16:3e:xx:xx:xx | |
# enable the device on boot | |
lxc.network.flags = up | |
# Set the container network MTU | |
lxc.network.mtu = 1500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment