Use environment variables for the lab metadata as jinja2 variables
- All environment variables from instance_boot.sh can be used
in the "hardware_metadata" like:
hardware_metadata: |
'0c:c4:7a:33:26:7c':
write_files:
- path: '/etc/netplan/control_network.yaml'
content: |
network:
version: 2
ethernets:
eno1:
dhcp4: false
addresses:
- {{ PUBLIC_INTERFACE_IP }}/{{ PUBLIC_INTERFACE_NETMASK }}
https: //mirantis.jira.com/browse/PRODX-2630
Change-Id: I18389aa8c83cc8fea43acf022535baf17d321b3f
2 files changed