Updated IPMI overlay with updated syntax
This commit is contained in:
@@ -7,11 +7,11 @@ error_exit() {
|
|||||||
|
|
||||||
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
||||||
|
|
||||||
IP="{{$.Self.IpmiIpaddr}}"
|
IP="{{$.IpmiIpaddr}}"
|
||||||
NETMASK="{{$.Self.NetDevs.eth0.Netmask}}"
|
NETMASK="{{$.NetDevs.eth0.Netmask}}"
|
||||||
GATEWAY="{{$.Self.NetDevs.eth0.Gateway}}"
|
GATEWAY="{{$.NetDevs.eth0.Gateway}}"
|
||||||
USER="{{$.Self.IpmiUserName}}"
|
USER="{{$.IpmiUserName}}"
|
||||||
PASS="{{$.Self.IpmiPassword}}"
|
PASS="{{$.IpmiPassword}}"
|
||||||
|
|
||||||
echo IP is $IP
|
echo IP is $IP
|
||||||
echo NETMASK is $NETMASK
|
echo NETMASK is $NETMASK
|
||||||
|
|||||||
Reference in New Issue
Block a user