Commit e3daea45 authored by Leigh B Stoller's avatar Leigh B Stoller

Changes for G8.

parent c3198d25
<!-- RIBCL Sample Script for HP Lights-Out Products -->
<!--Copyright (c) 2003,2010 Hewlett-Packard Development Company, L.P.-->
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="Administrator" PASSWORD="%s">
<RIB_INFO MODE="write">
<IMPORT_SSH_KEY>
-----BEGIN SSH KEY-----
%s elabman
-----END SSH KEY-----
</IMPORT_SSH_KEY>
</RIB_INFO>
<RIB_INFO MODE="write">
<IMPORT_SSH_KEY>
-----BEGIN SSH KEY-----
%s Administrator
-----END SSH KEY-----
</IMPORT_SSH_KEY>
</RIB_INFO>
</LOGIN>
</RIBCL>
......@@ -39,7 +39,7 @@ sub usage()
print STDERR "Usage: initilo.pl [-d] [-n] -c <ip> <ilopswd>\n";
exit(-1);
}
my $optlist = "dncob";
my $optlist = "dncobs";
my $debug = 0;
my $impotent = 0;
my $control = 0;
......@@ -126,6 +126,7 @@ chomp($elabmanpswd);
my $setupgoo = `cat $SRCDIR/setupilo.xml`;
my $resetgoo = `cat $SRCDIR/resetilo.xml`;
my $chpswdgoo = `cat $SRCDIR/chpswd.xml`;
my $sshkeygoo = `cat $SRCDIR/addsshkey.xml`;
# The pubkey.
my $pubkey = `cat ${DSAKEY}.pub`;
......@@ -217,6 +218,11 @@ $xmlgoo = sprintf($chpswdgoo, $ilopswd, $elabmanpswd);
if (SendXML($iloIP, $xmlgoo)) {
Fatal("Failed to send chpswd xml to $iloIP");
}
$xmlgoo = sprintf($sshkeygoo, $elabmanpswd, $pubkey, $pubkey);
if (SendXML($iloIP, $xmlgoo)) {
Fatal("Failed to send addsshkey xml to $iloIP");
}
#
# This resets the ilo.
......
......@@ -21,7 +21,7 @@
<attribute name="attr_integer_frequency"> <value>2666</value></attribute>
<attribute name="attr_boolean_imageable"> <value>1</value></attribute>
<attribute name="attr_integer_max_interfaces"> <value>4</value></attribute>
<attribute name="attr_integer_memory"> <value>3574</value></attribute>
<attribute name="attr_integer_memory"> <value>48155</value></attribute>
<attribute name="attr_integer_power_delay"> <value>120</value></attribute>
<attribute name="attr_string_processor"> <value>QuadCore</value></attribute>
<attribute name="attr_boolean_rebootable"> <value>1</value></attribute>
......
......@@ -5,6 +5,13 @@ REPLACE INTO `interface_capabilities`
REPLACE INTO `interface_capabilities`
VALUES ('bce','ethernet_defspeed','1000000');
REPLACE INTO `interface_types`
VALUES ('igb',1000000,1,'Intel','Gigabit Ethernet',1,'RJ45');
REPLACE INTO `interface_capabilities`
VALUES ('igb','protocols','ethernet');
REPLACE INTO `interface_capabilities`
VALUES ('igb','ethernet_defspeed','1000000');
REPLACE INTO `interface_types`
VALUES ('ilo2',0,1,'HP','HP iLO 2',1,'RJ45');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment