Browse Source

add note about lxd static IP

master
cinnaboot 5 years ago
parent
commit
9d1609be1f
  1. 7
      roles/lxd_host/tasks/container_install.yml

7
roles/lxd_host/tasks/container_install.yml

@ -12,6 +12,13 @@
container_present: true
when: command_return.rc == 0
#
# TODO: static ip not working
# the eth0 device is added, and ipv4.address is set, but the device
# is not attached to the bridge as per
# https://discuss.linuxcontainers.org/t/using-static-ips-with-lxd/1291/6
# could add some more tasks to do it manually :(
#
- name: "install container {{ container_name }}"
community.general.lxd_container:
name: "{{ container_name }}"

Loading…
Cancel
Save