From be482b3b83299121e563e35d03f99b0f20c38d95 Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Thu, 11 Aug 2016 11:56:01 -0400 Subject: [PATCH] Fix bad syntax on sed to enable SSLv3 for heads The sed was missing the -i so brick-head setup scripts would hang because we were not actually changing the file, just printing the output of running the sed to the command line. Signed-off-by: Andy Witter --- templates/setup-head.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/setup-head.sh b/templates/setup-head.sh index 0834170..e9bc913 100755 --- a/templates/setup-head.sh +++ b/templates/setup-head.sh @@ -177,7 +177,7 @@ sed -i 's^NameVirtualHost^#NameVirtualHost^g' /etc/apache2/ports.conf if [ -e /etc/apache2/mods-enabled/ssl.conf ] then - sed '/SSL v2 is no longer supported/a \\tSSLProtocol all -SSLv3' + sed -i '/SSL v2 is no longer supported/a \\tSSLProtocol all -SSLv3' else echo "WARNING!!! Could not disable SSLv3 in apache2 conf" echo "/etc/apache2/mods-enabled/ssl.conf is missing." -- 2.11.0