Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

lxc-usernet config sample

  • All Blogs
  • Tech Blog
  • lxc-usernet config sample
  • March 5, 2021 by
    Administrator

     

    cat /etc/lxc/lxc-usernet
    # USERNAME TYPE BRIDGE COUNT
    x veth ibr1 8
    x veth xbr1 8
    x veth ubr1 8

    cat .local/share/lxc/asterisk/config
    # Template used to create this container: /usr/share/lxc/templates/lxc-download
    # Parameters passed to the template: -d ubuntu -r vivid -a amd64
    # For additional config options, please look at lxc.container.conf(5)

    # Distribution configuration
    lxc.include = /usr/share/lxc/config/ubuntu.common.conf
    lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
    lxc.arch = x86_64

    # Container specific configuration
    lxc.include = /etc/lxc/default.conf
    lxc.id_map = u 0 100000 65536
    lxc.id_map = g 0 100000 65536
    lxc.rootfs = /home/x/.local/share/lxc/asterisk/rootfs
    lxc.utsname = asterisk

    # Network configuration
    lxc.network.type = veth
    lxc.network.link = ubr1
    lxc.network.flags = up
    lxc.network.name = internal
    #lxc.network.ipv4 = 10.1.8.2/24
    #lxc.network.ipv4.gateway = 10.1.8.1

    in Tech Blog
    Configure the Odoo container with Nginx container

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Follow us
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)