Repository: hashicorp/nomad
File: command/agent/command.go (Go)

Code before:
    to be added.

  -network-interface
    Forces the network fingerprinter to use the specified network interface.

  -preferred-address-family
    Specify which IP family to prefer when selecting an IP address of the
    network interface. Valid values are "ipv4" and "ipv6". When not specified,
    the agent will not sort the addresses and use the first one.

  -network-speed
    The default speed for network interfaces in MBits if the link speed can not
    be determined dynamically.

  -host-volumes-dir
    Directory wherein host volume plugins should place volumes. The default is
    <data-dir>/host_volumes.

  -host-volume-plugin-dir
    Directory containing dynamic host volume plugins. The default is
    <data-dir>/host_volume_plugins.

  -client-intro-token
    The JWT token used to authenticate with servers during the client's initial
    registration. You may also set the token via the "NOMAD_CLIENT_INTRO_TOKEN"
    environment variable, which override this flags. If neither are set, the
    agent looks for an "intro_token.jwt" file within the client state
    directory.

ACL Options:

  -acl-enabled
    Specifies whether the agent should enable ACLs.

  -acl-replication-token
    The replication token for servers to use when replicating from the
    authoritative region. The token must be a valid management token from the
    authoritative region.

Consul Options:

  -consul-address=<addr>
    Specifies the address to the local Consul agent, given in the format host:port.
    Supports Unix sockets with the format: unix:///tmp/consul/consul.sock

  -consul-auth=<auth>
    Specifies the HTTP Basic Authentication information to use for access to the
    Consul Agent, given in the format username:password.

  -consul-auto-advertise
    Specifies if Nomad should advertise its services in Consul. The services

Review comment (suggestion):
```suggestion
    environment variable, which overrides this flag. If neither are set, the
```

Code after:
    to be added.

  -network-interface
    Forces the network fingerprinter to use the specified network interface.

  -preferred-address-family
    Specify which IP family to prefer when selecting an IP address of the
    network interface. Valid values are "ipv4" and "ipv6". When not specified,
    the agent will not sort the addresses and use the first one.

  -network-speed
    The default speed for network interfaces in MBits if the link speed can not
    be determined dynamically.

  -host-volumes-dir
    Directory wherein host volume plugins should place volumes. The default is
    <data-dir>/host_volumes.

  -host-volume-plugin-dir
    Directory containing dynamic host volume plugins. The default is
    <data-dir>/host_volume_plugins.

  -client-intro-token
    The JWT token used to authenticate with servers during the client's initial
    registration. You may also set the token via the "NOMAD_CLIENT_INTRO_TOKEN"
    environment variable, which overrides this flag. If neither are set, the
    agent looks for an "intro_token.jwt" file within the client state
    directory.

ACL Options:

  -acl-enabled
    Specifies whether the agent should enable ACLs.

  -acl-replication-token
    The replication token for servers to use when replicating from the
    authoritative region. The token must be a valid management token from the
    authoritative region.

Consul Options:

  -consul-address=<addr>
    Specifies the address to the local Consul agent, given in the format host:port.
    Supports Unix sockets with the format: unix:///tmp/consul/consul.sock

  -consul-auth=<auth>
    Specifies the HTTP Basic Authentication information to use for access to the
    Consul Agent, given in the format username:password.

  -consul-auto-advertise
    Specifies if Nomad should advertise its services in Consul. The services