15 строки
561 B
Bash
15 строки
561 B
Bash
TMPDIR="/opt"
|
|
cd $TMPDIR
|
|
wget https://samisstorage.blob.core.windows.net/omsagentrctest/omsagent-1.4.0-12.universal.x64.sh
|
|
chmod 775 $TMPDIR/*.sh
|
|
|
|
$TMPDIR/omsagent-*.universal.x64.sh --extract
|
|
mv $TMPDIR/omsbundle* $TMPDIR/omsbundle
|
|
$TMPDIR/omsbundle/bundles/scx-1.6.*-*.universal.x64.sh --install
|
|
/usr/bin/dpkg -i $TMPDIR/omsbundle/100/omsagent*.deb
|
|
/usr/bin/dpkg -i $TMPDIR/omsbundle/100/omsconfig*.deb
|
|
/$TMPDIR/omsbundle/oss-kits/docker-cimprov-1.0.0-*.x86_64.sh --install
|
|
|
|
rm -rf $TMPDIR/omsbundle
|
|
rm -f $TMPDIR/omsagent*.sh
|
|
rm -f $TMPDIR/docker-cimprov*.sh |