added sed line to fix suricata build
This commit is contained in:
		| @@ -323,6 +323,7 @@ install_suricata() { | |||||||
|     pip3.6 install --pre --upgrade suricata-update |     pip3.6 install --pre --upgrade suricata-update | ||||||
|     # add DC_SERVERS variable to suricata.yaml in support et-open signatures |     # add DC_SERVERS variable to suricata.yaml in support et-open signatures | ||||||
|     /root/go/bin/yq w  -i /etc/suricata/suricata.yaml vars.address-groups.DC_SERVERS '$HOME_NET' |     /root/go/bin/yq w  -i /etc/suricata/suricata.yaml vars.address-groups.DC_SERVERS '$HOME_NET' | ||||||
|  |     sed -i '0,/^/s//%YAML 1.1\n---\n/' /etc/suricata/suricata.yaml | ||||||
|     crudini --set --format=sh /etc/default/suricata '' iface eth1 |     crudini --set --format=sh /etc/default/suricata '' iface eth1 | ||||||
|     # update suricata signature sources |     # update suricata signature sources | ||||||
|     suricata-update update-sources |     suricata-update update-sources | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jeff Beley
					Jeff Beley