From 9c12b8bb5a25b077e5a88d4f6bf8f4c7ababf4ac Mon Sep 17 00:00:00 2001 From: Viktor Ribchev Date: Thu, 9 Nov 2023 14:29:14 +0200 Subject: [PATCH] moved to the end --- files/install_graphdb.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/install_graphdb.sh b/files/install_graphdb.sh index 4247741..f994b60 100644 --- a/files/install_graphdb.sh +++ b/files/install_graphdb.sh @@ -9,9 +9,6 @@ done timedatectl set-timezone UTC -# Shred authorized_keys -shred -u /root/.ssh/authorized_keys /home/packer/.ssh/authorized_keys || true - # Install Tools apt-get -o DPkg::Lock::Timeout=300 update -y apt-get -o DPkg::Lock::Timeout=300 install -y bash-completion jq nvme-cli openjdk-11-jdk unzip @@ -50,3 +47,6 @@ mv /tmp/graphdb.service /lib/systemd/system/graphdb.service systemctl daemon-reload systemctl enable graphdb.service systemctl start graphdb.service + +# Shred authorized_keys +shred -u /root/.ssh/authorized_keys /home/packer/.ssh/authorized_keys || true