Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
464 B

  1. lxc.include = /usr/share/lxc/config/debian.common.conf
  2. lxc.utsname = {{ vm_name }}
  3. lxc.rootfs = /dev/{{ inventory_hostname }}vg/vm_{{ vm_name }}
  4. lxc.tty = 4
  5. lxc.arch = amd64
  6. lxc.network.type = veth
  7. lxc.network.flags = up
  8. lxc.network.link = br0
  9. lxc.network.name = eth0
  10. lxc.network.ipv4 = {{ hostvars[vm_name]['ansible_host'] }}/16
  11. lxc.network.ipv4.gateway = {{ hostvars[ext_gateway]['ansible_host'] }}
  12. lxc.start.auto = {% if auto_start %}1{% else %}0{% endif %}