Users Guide

NOTE: If the exported repository contains higher version of DSU DUP, applying the updates will upgrade the DSU
version to the latest available version.
Example
The following is a sample script which allows to reboot the host operating system, if any updates require reboot after mounting the ISO
file.
#!/bin/bash
shopt -s expand_aliases
alias 'rpm=rpm --ignoresize'
mkdir -p /var/cache/yum
mount -ttmpfs tmpfs /var/cache/yum
rpm -ivh --nodeps /opt/dell/toolkit/systems/RPMs/rhel7/yumrpms/*
echo "diskspacecheck=0" >> /etc/yum.conf
echo "Installing dell-system-update ..."
if rpm -U --force /opt/dell/toolkit/systems/RPMs/dell-system-update*.rpm
then
echo "DSU installation successful ..."
export LANG=en_US.UTF-8
else
echo "DSU installation failed."
exit 1
fi
mkdir -p /usr/libexec/dell_dup/
version=$(dsu -v | cut -d ' ' -f 5)
version=$(echo $version | cut -d' ' -f 1)
installed_version=$(dsu -v | cut -d ' ' -f 5)
installed_version=$(echo $installed_version | cut -d' ' -f 1)
if [[ $installed_version < 1.7.0 ]]
then
echo "Trying to Upgrade DSU"
/opt/dell/toolkit/systems/drm_files/repository/FOLDER05605556M/1/Systems-
Management_Application_DVHNP_LN64_1.7.0_A00.BIN -f -q
if [[ $? -eq 0 ]]
then
echo DSU update Succesful
version=$(dsu -v | cut -d ' ' -f 5)
version=$(echo $version | cut -d' ' -f 1)
else
echo DSU Update Failed
fi
fi
echo "Starting dsu"
if [[ $version > 1.6.0 ]]
then
dsu --non-interactive --source-location=/opt/dell/toolkit/systems/drm_files/repository --
source-type=REPOSITORY --ic-location=/opt/dell/toolkit/systems/drm_files/repository/
FOLDER05897955M/1/invcol_FJ2R1_LN64_19_12_200_744_A00 --config=/opt/dell/toolkit/systems/
drm_files/dsuconfig.xml --import-public-key --reboot
elif [[ $version > 1.5.3 ]]
then
dsu --non-interactive --source-location=/opt/dell/toolkit/systems/drm_files/repository --
source-type=REPOSITORY --ic-location=/opt/dell/toolkit/systems/drm_files/repository/
FOLDER05897955M/1/invcol_FJ2R1_LN64_19_12_200_744_A00 --config=/opt/dell/toolkit/systems/
drm_files/dsuconfig.xml
elif [[ $version > 1.5.2 ]]
then
dsu --non-interactive --source-location=/opt/dell/toolkit/systems/drm_files/repository --
source-type=REPOSITORY --ic-location=/opt/dell/toolkit/systems/drm_files/repository/
FOLDER05897955M/1/invcol_FJ2R1_LN64_19_12_200_744_A00 --config=/opt/dell/toolkit/systems/
drm_files/dsuconfig.xml
else
dsu --non-interactive --source-location=/opt/dell/toolkit/systems/drm_files/repository --
source-type=REPOSITORY --ic-location=/opt/dell/toolkit/systems/drm_files/repository/
FOLDER05897955M/1/invcol_FJ2R1_LN64_19_12_200_744_A00
Using Dell EMC Repository Manager
23