-
Notifications
You must be signed in to change notification settings - Fork 2
set host interface options
stack set host interface options {host}... {iface} [iface=string] [options=string]
Sets the options for a device module for a named interface. On Linux, this will get translated to an entry in /etc/modprobe.conf.
-
{host}
One or more hosts.
-
{iface}
Interface that should be updated. This may be a logical interface or the MAC address of the interface.
-
[iface=string]
Can be used in place of the iface argument.
-
[options=string]
The options for an interface. Use options=NULL to clear. options="dhcp", and options="noreport" have special meaning. options="bonding-opts=""" sets up bonding options for bonded interfaces
-
stack set host interface options compute-0-0 iface=eth1 options="Speed=10"
Sets the option "Speed=10" for eth1 on e1000 on host compute-0-0.
-
stack set host interface options compute-0-0 iface=eth1 options=NULL
Clear the options entry.
-
stack set host interface options compute-0-0 iface=eth0 options="dhcp"
Linux only: Configure eth0 interface for DHCP instead of static.
-
stack set host interface options compute-0-0 iface=eth0 options="noreport"
Linux only: Tell rocks report host interface to ignore this interface when writing configuration files
- add
- config
- create
- disable
- dump
- enable
- help
- iterate
- list
- load
- open
- remove
- report
- run
-
set
- set access
- set appliance attr
- set attr
- set environment attr
- set host address
- set host appliance
- set host attr
- set host boot
- set host bootflags
- set host comment
- set host cpus
- set host distribution
- set host installaction
- set host interface iface
- set host interface ip
- set host interface mac
- set host interface module
- set host interface name
- set host interface options
- set host interface subnet
- set host interface vlan
- set host membership
- set host name
- set host power
- set host rack
- set host rank
- set host runaction
- set host storage
- set network mtu
- set network netmask
- set network servedns
- set network subnet
- set network zone
- set os attr
- set password
- swap
- sync
- unload