Table of Contents

Create interactive form

Synopsis

  form [--name <name>] [--delete] [<title>]

Examples

Configure IPv4 networking

  form                Configure IPv4 networking on ${netX/mac}
  item netX/ip        IPv4 address
  item netX/netmask   Subnet mask
  item netX/gateway   Gateway address
  item dns            DNS server address
  present

Configure TFTP server

  form                TFTP
  item next-server    Server IPv4 address
  item filename       Filename
  present

Create a named form

  form --name tftp TFTP server address

Delete a named form

  menu --name tftp --delete

Description

Create an interactive form with the specified name and title. If no name is specified, the default (unnamed) form will be created.

If the --delete option is specified, the form will be deleted.

Command status

Success The form was successfully created
Failure The form was not successfully created

See also

Notes

Forms are automatically deleted by the present command. You do not generally need to explicitly delete a form.