From 234646af539017942f728f47145d130210b8042c Mon Sep 17 00:00:00 2001 From: Jeff Beley Date: Wed, 5 Sep 2018 02:57:34 -0500 Subject: [PATCH] added sed line to fix suricata build --- Vagrant/bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrant/bootstrap.sh b/Vagrant/bootstrap.sh index fd24081..9d531ea 100644 --- a/Vagrant/bootstrap.sh +++ b/Vagrant/bootstrap.sh @@ -323,6 +323,7 @@ install_suricata() { pip3.6 install --pre --upgrade suricata-update # 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' + sed -i '0,/^/s//%YAML 1.1\n---\n/' /etc/suricata/suricata.yaml crudini --set --format=sh /etc/default/suricata '' iface eth1 # update suricata signature sources suricata-update update-sources