Skip to content

Commit a7f4787

Browse files
committed
Updated automatic install script for Azure Mobility
* Updates the CLI options for the extracted installer to work properly. It looks like the actual binary .tar.gz used with the installer had been updated with some new install switches breaking compatibility with this script. * Adds support for RHEL8. This is supported by the Azure Mobility service since the appliance will actually produce a installer .tar.gz with RHEL8 in the filename.
1 parent 44f92f5 commit a7f4787

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

articles/site-recovery/vmware-azure-mobility-install-configuration-mgr.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,13 @@ elif [ -f /etc/redhat-release ]; then
239239
echo $OS >> /tmp/MobSvc/sccm.log
240240
cp *RHEL7*.tar.gz /tmp/MobSvc
241241
fi
242+
elif grep -q 'Red Hat Enterprise Linux release 8.* (Ootpa)' /etc/redhat-release || \
243+
grep -q 'CentOS Linux release 8.* (Core)' /etc/redhat-release; then
244+
if uname -a | grep -q x86_64; then
245+
OS="RHEL8-64"
246+
echo $OS >> /tmp/MobSvc/sccm.log
247+
cp *RHEL8*.tar.gz /tmp/MobSvc
248+
fi
242249
fi
243250
elif [ -f /etc/SuSE-release ] && grep -q 'VERSION = 11' /etc/SuSE-release; then
244251
if grep -q "SUSE Linux Enterprise Server 11" /etc/SuSE-release && grep -q 'PATCHLEVEL = 3' /etc/SuSE-release; then
@@ -273,7 +280,7 @@ fi
273280
Install()
274281
{
275282
echo "Perform Installation." >> /tmp/MobSvc/sccm.log
276-
./install -q -d ${INSTALL_DIR} -r Agent -v VmWare
283+
./install -q -d ${INSTALL_DIR} -r MS -v VmWare -c CSLegacy -a Install
277284
RET_VAL=$?
278285
echo "Installation Returncode: $RET_VAL" >> /tmp/MobSvc/sccm.log
279286
if [ $RET_VAL -eq 0 ]; then
@@ -302,7 +309,7 @@ Configure()
302309
Upgrade()
303310
{
304311
echo "Perform Upgrade." >> /tmp/MobSvc/sccm.log
305-
./install -q -v VmWare
312+
./install -q -v VmWare -r MS -v VmWare -c CSLegacy -a Upgrade
306313
RET_VAL=$?
307314
echo "Upgrade Returncode: $RET_VAL" >> /tmp/MobSvc/sccm.log
308315
if [ $RET_VAL -eq 0 ]; then

0 commit comments

Comments
 (0)