Last active
August 16, 2016 01:10
-
-
Save agup006/4190823c9011a344a495ae844f2cf571 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://github.com/Microsoft/OMS-Agent-for-Linux/releases/download/v1.1.0-239/omsagent-1.1.0-239.universal.x64.sh -O /tmp/omsagent.sh | |
sh /tmp/omsagent.sh --upgrade -w $1 -s $2 | |
cp /etc/opt/microsoft/omsagent/sysconf/omsagent.conf /etc/opt/microsoft/omsagent/conf/omsagent.conf | |
wget -O /etc/opt/microsoft/omsagent/conf/omsagent.d/hbase.conf http://ashishdata.blob.core.windows.net/oms/hbase.conf | |
sudo service omsagent restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment