This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface = "lo1"; | |
host.hostname = "$name"; | |
ip4.addr = "172.16.0.$n"; | |
path = "/jail/run/$name"; | |
exec.prestart = "/sbin/zfs clone zroot/jail/template/10.2-RELEASE/root@10.2-RELEASE-p8 zroot/jail/run/$name && | |
/usr/sbin/sysrc -f /jail/run/$name/etc/rc.conf hostname=$name && | |
/usr/sbin/sysrc -f /jail/run/$name/etc/rc.conf sshd_enable=YES && | |
/usr/sbin/sysrc -f /jail/run/$name/etc/rc.conf sshd_flags=\"-o ListenAddress=172.16.0.$n\" && | |
/usr/sbin/pw -R /jail/run/$name useradd -n u01 -m -w random && | |
/usr/sbin/pw -R /jail/run/$name lock root && |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
''' | |
Returns state event data for state.sls and state.highstate execution only using a tcp socket, this method of | |
returning data can be used for Splunk or ELK. | |
Each event sent represents a single state executed. | |
It is strongly recommended to use the ``event_return_whitelist`` so not all | |
events call this returner, for example: |