-
Notifications
You must be signed in to change notification settings - Fork 2
set host interface mac
stack set host interface mac {host} {iface} {mac} [iface=string] [mac=string]
Sets the mac address for named interface on host.
-
{host}
Host name.
-
{iface}
Interface that should be updated. This may be a logical interface or the mac address of the interface.
-
{mac}
The mac address of the interface. Usually of the form dd:dd:dd:dd:dd:dd where d is a hex digit. This format is not enforced. Use mac=NULL to clear the mac address.
-
[iface=string]
Can be used in place of the iface argument.
-
[mac=string]
Can be used in place of the mac argument.
-
stack set host interface mac compute-0-0 eth1 00:0e:0c:a7:5d:ff
Sets the MAC Address for the eth1 device on host compute-0-0.
-
stack set host interface mac compute-0-0 iface=eth1 mac=00:0e:0c:a7:5d:ff
Same as above.
-
stack set host interface mac compute-0-0 iface=eth1 mac=NULL
clears the mac address from the database
- 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