Detected 2 occurrence(s) of ‘http[s]*:\/\/[a-z0-9\-\./]+\.(mdb|conf|cfg|vmdk|config|key|conf)\s’: k-ts2 -e "s/agent_key:/agent_key: $API/g" /etc/sd-agent/config.cfg sudo /etc/init.d/sd-agent start echo "Installation Complete" else echo "Ubuntu OS found. Installing." wget -q https://www.serverdensity.com/downloads/boxedice-public.key -O- | sudo apt-key add - echo -e "deb http://www.serverdensity.com/downloads/linux/deb all main" >> /etc/apt/sources.list.d/sd-agent.list sudo apt-get update sudo apt-get install sd-agent Source: http://pastebin.com/raw.php?i=NAqKLCA5
↧