#!/bin/sh
echo "Installing Tenable on $hostname"
cd ~
rpm -ivh http://kickstart.icloudhosting.com/NessusAgent-10.2.0-es7.x86_64.rpm
systemctl enable nessusagent.service
systemctl start nessusagent.service
/opt/nessus_agent/sbin/nessuscli agent link --key=d1348a0c4b2fa27b590ac833a210693f3efc9e04206af6ec7b94c7448460549f --host=cloud.tenable.com --port=443
systemctl restart nessusagent.service
echo "Tenable Install Done"
