Comment 28 for bug 1210393

Revision history for this message
Jeff Marcom (jeffmarcom) wrote :

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.