From 148cebb4e799b41ca8483df00c8c47d16cba1fb0 Mon Sep 17 00:00:00 2001 From: duncan-ncc <43746821+duncan-ncc@users.noreply.github.com> Date: Thu, 2 Jul 2020 16:49:12 +0100 Subject: [PATCH] Adding directory creation command --- Chapter 3 Files/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Chapter 3 Files/deploy.sh b/Chapter 3 Files/deploy.sh index f2b1b9d..e8cfe41 100755 --- a/Chapter 3 Files/deploy.sh +++ b/Chapter 3 Files/deploy.sh @@ -122,6 +122,7 @@ cp /opt/lme/Chapter\ 3\ Files/winlogbeat.yml /tmp/lme/ cp /opt/lme/Chapter\ 3\ Files/certs/wlbclient.crt /tmp/lme/ cp /opt/lme/Chapter\ 3\ Files/certs/wlbclient.key /tmp/lme/ cp /opt/lme/Chapter\ 3\ Files/certs/root-ca.crt /tmp/lme/ +mkdir -p /tmp/lme/module/ cp -r /opt/lme/Chapter\ 3\ Files/module/* /tmp/lme/module/ sed -i "s/logstash_dns_name/$logstashcn/g" /tmp/lme/winlogbeat.yml zip -r /opt/lme/files_for_windows.zip /tmp/lme