So basically I was able to get this to work in maas.
Basically you need to change the following line in : /etc/maas/templates/commissioning-user-data/snippets/maas_ipmi_autodetect.py
def commit_ipmi_user_settings(user, password): ipmi_user_number = get_ipmi_user_number(user) if ipmi_user_number is None: (status, output) = commands.getstatusoutput('bmc-config --commit --key-pair="User10:Username=%s"' % user) ipmi_user_number = get_ipmi_user_number(user)
You have to change User10 to User4, as this bmc config maxes out at 4 User sections.
So basically I was able to get this to work in maas.
Basically you need to change the following line in : templates/ commissioning- user-data/ snippets/ maas_ipmi_ autodetect. py
/etc/maas/
def commit_ ipmi_user_ settings( user, password): user_number = get_ipmi_ user_number( user) getstatusoutput ('bmc-config --commit --key-pair= "User10: Username= %s"' % user)
ipmi_user_ number = get_ipmi_ user_number( user)
ipmi_
if ipmi_user_number is None:
(status, output) = commands.
You have to change User10 to User4, as this bmc config maxes out at 4 User sections.