4
# run the script to configure MAASS with set of data
9
MAASDHCPIPSTART=10.4.1.50
10
MAASDHCPIPEND=10.4.1.254
11
MAASSTATICSTART=10.4.2.20
12
MAASSTATICEND=10.4.2.254
13
MAASUPSTREAMDNS=10.4.0.2
14
MAASPROXY="http://10.4.1.1:8000/"
17
export MAAS_URL="http://10.4.1.1/MAAS/"
18
export APIKEY="c6tcQz4tyS3ALajCtF:sqcWhw8MkxTjUDLZrm:hBhszBLv5EqrY8h6yktFXWUT5825ShvE"
21
# collect the mac address and BMC detais to add a node into MAAS.
22
INTELPOD5SERV1BMCIP=10.4.2.8
23
INTELPOD5SERV1MAC1="00:1e:67:e0:0a:4a"
24
INTELPOD5SERV1MAC2="00:1e:67:e0:0a:4b"
25
INTELPOD5SERV1MAC3="00:1e:67:d0:9a:10"
26
INTELPOD5SERV1MAC4="00:1e:67:d0:9a:11"
28
INTELPOD5SERV2BMCIP=10.4.2.9
29
INTELPOD5SERV2MAC1="00:1e:67:e0:08:b0"
30
INTELPOD5SERV2MAC2="00:1e:67:e0:08:b1"
31
INTELPOD5SERV2MAC3="00:1e:67:d0:99:ee"
32
INTELPOD5SERV2MAC4="00:1e:67:d0:99:ef"
34
INTELPOD5SERV3BMCIP=10.4.2.7
35
INTELPOD5SERV3MAC1="00:1e:67:e0:08:7e"
36
INTELPOD5SERV3MAC2="00:1e:67:e0:08:7f"
37
INTELPOD5SERV3MAC3="00:1e:67:c2:23:d8"
38
INTELPOD5SERV3MAC4="00:1e:67:c2:23:d9"
40
INTELPOD5SERV4BMCIP=10.4.2.10
41
INTELPOD5SERV5MAC1="00:1e:67:cf:b8:92"
42
INTELPOD5SERV5MAC2="00:1e:67:cf:b8:93"
43
INTELPOD5SERV5MAC3="00:1e:67:d0:9b:0c"
44
INTELPOD5SERV5MAC4="00:1e:67:d0:9b:0d"
46
POWERADDRESS="qemu+ssh://user@10.4.1.1/system"
50
POWERPASSWORD="Intel.123"
52
bootstrapMAC1="52:54:00:11:d1:85"
53
bootstrapMAC2="52:54:00:61:03:ae"
55
node1MAC1="52:54:00:1f:dc:44"
56
node1MAC2="52:54:00:23:e9:f9"
58
node2MAC1="52:54:00:08:20:97"
59
node2MAC2="52:54:00:af:55:38"
62
# BMC username and password for power management
63
INTELPOD5BMCUSERNAME=root
67
maas login admin $MAAS_URL $APIKEY
68
#maas admin nodes list