You can create a metadata file that contains the initial network configuration for
interface 1.1 and provide it to a cloud VM by using an OpenStack or EC2 metadata service.
About this task
The metadata file is a plain text file that contains a list of key-value pairs. This file is then
uploaded to a cloud provider and served as the user-data content by the cloud
provider's Cloud-Init metadata service.
Procedure
-
Create a text file with the keys that are provided in Table 1.
-
Edit the content of the text file as needed.
The table lists the valid keys:
Table 1. Valid keys
| Key |
Description |
network.hostname |
The appliance hostname |
network.1.1.ipv4.address |
The initial IPv4 management IP address on interface 1.1 |
network.1.1.ipv4.netmask |
The netmask for interface 1.1 |
network.1.1.ipv4.gateway |
The gateway for interface 1.1 |
network.1.1.ipv6.address |
The initial IPv6 management IP address on interface 1.1 |
network.1.1.ipv6.prefix |
The prefix length for interface 1.1 |
network.1.1.ipv6.gateway |
The gateway for interface 1.1 |
You can include both ipv4 and ipv6 settings in the same file. If you include ipv4 or ipv6
settings, all associated keys (address, netmask, and
gateway) must be present.
Upload the text file to the user-data field of a supported Cloud Provider
when you provision a Verify Access virtual appliance.
The following example initially configures an IPv4 address for interface 1.1 and the appliance
hostname.
network.hostname = cloudinit.verifyaccess.ibmsec.com
network.1.1.ipv4.address = 10.20.0.11
network.1.1.ipv4.netmask = 255.255.0.0
network.1.1.ipv4.gateway = 10.20.0.1