Skip to content

Commit 062c9fc

Browse files
committed
Removed pypuppet since its now in its own repo. Also added an ilo script to create ilo config scripts
1 parent 2990cdf commit 062c9fc

8 files changed

+48
-341
lines changed

ilo/createilofile.sh

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
#!/bin/bash
2+
3+
# Author: Corey Osman
4+
# Date: 1-26-2010
5+
# This script will create the xml file for each server and set the ilo name, admin
6+
# using the hponcfg utility. This must be run on each server
7+
HOST=`hostname -s`
8+
cat > /root/setupilo.xml << EOF
9+
10+
11+
# You need to change the Login info in the tag since its ignored
12+
<RIBCL VERSION="2.0">
13+
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
14+
<SERVER_INFO MODE="write">
15+
<SERVER_NAME value ="${HOST}"/>
16+
</SERVER_INFO>
17+
<RIB_INFO MODE="write">
18+
<MOD_NETWORK_SETTINGS>
19+
<REG_DDNS_SERVER value="Yes"/>
20+
<DHCP_DOMAIN_NAME value="Yes"/>
21+
<DHCP_ENABLE value="Yes"/>
22+
<DNS_NAME value="ilo-${HOST}"/>
23+
<DHCP_GATEWAY value="Yes"/>
24+
<DHCP_DNS_SERVER value="Yes"/>
25+
<DHCP_WINS_SERVER value="Yes"/>
26+
<DHCP_STATIC_ROUTE value="Yes"/>
27+
</MOD_NETWORK_SETTINGS>
28+
</RIB_INFO>
29+
<USER_INFO MODE="write">
30+
<ADD_USER
31+
USER_NAME="User"
32+
USER_LOGIN="admin"
33+
PASSWORD="anypasswordyouwant">
34+
<ADMIN_PRIV value ="Y"/>
35+
<REMOTE_CONS_PRIV value ="Y"/>
36+
<RESET_SERVER_PRIV value ="Y"/>
37+
<VIRTUAL_MEDIA_PRIV value ="Y"/>
38+
<CONFIG_ILO_PRIV value="Yes"/>
39+
</ADD_USER>
40+
</USER_INFO>
41+
</LOGIN>
42+
</RIBCL>
43+
44+
EOF
45+
# This is assuming you have installed the hponfig tool from the PSP
46+
hponcfg -f /root/setupilo.xml -l /root/setupilo.log
47+
48+

pypuppet/README

-17
This file was deleted.

pypuppet/base.py

-51
This file was deleted.

pypuppet/node.py

-46
This file was deleted.

pypuppet/puppetapi.py

-124
This file was deleted.

pypuppet/tests/test-base.py

-28
This file was deleted.

pypuppet/tests/test-node.py

-31
This file was deleted.

pypuppet/tests/test-puppetclient.py

-44
This file was deleted.

0 commit comments

Comments
 (0)