Hi,

Imagine I've got a file like that I want to remotely execute via ipmitool -H ...
exec :

lan set 1 ipaddr 192.168.1.10
lan set 1 vlan id 42

>From what I can understand, each line is treated as a separated command, so,
when running ipmitool remotly, I can lose connection between two lines if I
change the IP address like in this example.

Is there some kind of mode that allow to push a set of parameters to set in one
shot ?

It seems to be working with bmc-config from the freeipmi project and multiple -e
options :

$ bmc-config --commit -h 10.1.1.1 -u ADMIN -p PASSWORD -e
Lan_Conf:IP_Address=192.168.1.10 -e Lan_Conf:Vlan_id=42

If I go on the server after this bmc-config command and I locally execute
bmc-config --checkout, or ipmitool lan print, both the IP Address and the Vlan
id changed.

Jean-Baptiste


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to