← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~adam-collard/maas:machine-config-hints-fixup into maas:master

 

Adam Collard has proposed merging ~adam-collard/maas:machine-config-hints-fixup into maas:master.

Commit message:
LP:2020882 Don't run machine-config hints on controllers


Requested reviews:
  MAAS Maintainers (maas-maintainers)
Related bugs:
  Bug #2020882 in MAAS: "Machine config hints FileNotFoundError"
  https://bugs.launchpad.net/maas/+bug/2020882

For more details, see:
https://code.launchpad.net/~adam-collard/maas/+git/maas/+merge/443658
-- 
Your team MAAS Committers is subscribed to branch maas:master.
diff --git a/src/provisioningserver/refresh/node_info_scripts.py b/src/provisioningserver/refresh/node_info_scripts.py
index a1ef7eb..b7b5470 100644
--- a/src/provisioningserver/refresh/node_info_scripts.py
+++ b/src/provisioningserver/refresh/node_info_scripts.py
@@ -83,7 +83,7 @@ NODE_INFO_SCRIPTS = OrderedDict(
         ),
         (
             MACHINE_CONFIG_HINTS_NAME,
-            {"hook": null_hook, "run_on_controller": True},
+            {"hook": null_hook, "run_on_controller": False},
         ),
         (
             COMMISSIONING_OUTPUT_NAME,

Follow ups