Force LXD fan network underlay subnet instead of auto

This commit is contained in:
Khue Doan 2021-02-21 21:01:12 +07:00
parent f191d5a2e2
commit b7b5ce1fd3
3 changed files with 3 additions and 1 deletions

View File

@ -9,3 +9,4 @@ metal3 ansible_host=192.168.1.113 mac='00-23-24-d1-f5-69'
[metal:vars]
ansible_user=root
subnet=192.168.1.0/24

View File

@ -4,7 +4,7 @@ config:
networks:
- config:
bridge.mode: fan
fan.underlay_subnet: auto
fan.underlay_subnet: {{ hostvars[inventory_hostname]['subnet'] }}
description: ""
name: lxdfan0
type: ""

View File

@ -4,3 +4,4 @@ metal1 ansible_host=192.168.50.3
[metal:vars]
ansible_user=root
subnet=192.168.50.0/24