netconsole remote kernel logger
To configure:
* set system.netconsole.enabled to true
* create system.netconsole.target dict
* set a record with IP address and MAC and interface as subdict
It works with both static and DHCP interfaces, and applies online.
You could use bash-scripting in netconsole.conf.
You could override the MAC.
See tests/pillar/system.sls for further information.
Change-Id: I1cbde47575eb5d32a34cd6d79a063f42dbea7643
diff --git a/tests/pillar/system.sls b/tests/pillar/system.sls
index 216bca5..426f2dc 100644
--- a/tests/pillar/system.sls
+++ b/tests/pillar/system.sls
@@ -265,3 +265,13 @@
- host1
- host2
- .local
+
+ # pillars for netconsole setup
+ netconsole:
+ enabled: true
+ port: 514
+ loglevel: debug
+ target:
+ 192.168.0.1:
+ mac: "ff:ff:ff:ff:ff:ff"
+ interface: bond0