Add hostname to startup to
This commit is contained in:
parent
181bd1f2b8
commit
88d4964b9c
1
pvcd.py
1
pvcd.py
|
@ -144,6 +144,7 @@ else:
|
||||||
zk.create('/nodes/{}/ipmiusername'.format(myhostname), config['ipmi_username'].encode('ascii'))
|
zk.create('/nodes/{}/ipmiusername'.format(myhostname), config['ipmi_username'].encode('ascii'))
|
||||||
zk.create('/nodes/{}/ipmipassword'.format(myhostname), config['ipmi_password'].encode('ascii'))
|
zk.create('/nodes/{}/ipmipassword'.format(myhostname), config['ipmi_password'].encode('ascii'))
|
||||||
|
|
||||||
|
print('Node hostname: {}'.format(myhostname))
|
||||||
print('IPMI hostname: {}'.format(config['ipmi_hostname']))
|
print('IPMI hostname: {}'.format(config['ipmi_hostname']))
|
||||||
|
|
||||||
t_node = dict()
|
t_node = dict()
|
||||||
|
|
Loading…
Reference in New Issue