Hi there.
Just getting to grips with MAAS. I would like to know if it is possible to disable the 30-maas-01-bmc-config script, when a machine pxe boots and enrolls itself. We do not want maas to do anything with the BMC and we will be managing adding the power state later in our process.
I have tried removing the tags, but to no avail.
Any ideas?
No, there’s no way of disabling that script.
What you can do, though, is to add another script that runs before 30-maas-01-bmc (e.g. 29-my-01-bmc). In there, you can write a file to $BMC_CONFIG_PATH with the BMC configuration you want. For example:
#!/bin/bash
cat <<EOF > $BMC_CONFIG_PATH
power_type: manual
EOF
Then 30-maas-01-bmc will see that the BMC has already been configure and will exit.
Thanks, that seems like a much better idea than messing with bind mounts 