You can create a metadata image that contains the initial network
configuration for interface 1.1 manually with a text editor.
About this task
The metadata file is a plain text file that contains a list of key-value pairs.
The file must be named app-metadata and at the root of the file system of the
ISO image to be mounted.
Procedure
-
Create a text file with the name app-metadata at the root of the file
system of the attached device.
-
Edit the content of the text file as needed.
The valid keys are as follows:
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.
The following example initially
configures an IPv4 address for interface 1.1 and the appliance
hostname.
network.hostname = isva-appliance.ibm.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