Create a metadata image manually

We can create a metadata image containing the initial network configuration for interface 1.1 manually with a text editor.

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.

Steps

  1. Create a text file with the name app-metadata at the root of the file system of the attached device.

  2. Edit the content of the text file as needed. The valid keys are as follows:

    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 Prefix length for interface 1.1
    network.1.1.ipv6.gateway The gateway for interface 1.1

    We 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

Parent topic: Silent configuration

Related tasks