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
tree: 52a402db57bdc8de21a664dacb3ac2dc11e9b400
  1. de/
  2. .gitignore
  3. .gitreview
  4. tox.ini