I'm not from Dell, and I've not seen a "Best Practice" anywhere either.
Maybe because it's so easy?
I just rsync the repo(s) -- specifically, the version(s) I want to use.
Note that I also omit the platforms I don't use (specifically SLES and
RHEL7. Obviously if you use those platforms you will want to include those
directories.
Note: each repo (with my exclusions) is ~ 12 GB. But the os_dependent
directories are small (only ~200 MB for RHEL7 I think), so the exclusions
don't matter much.
e.g. If I want DSU_17.03.00:
newrel=17.03.00
cd /var/www/html/dell_repo/hardware
rsync -avHz --delete linux.dell.com::repo/hardware/DSU_${newrel} . \
--exclude RHEL7_64/ --exclude SLES*/ --progress
chown -R root.root DSU_${newrel}
restorecon -R DSU_${newrel}
# repoint the latest link
/bin/rm dsu
ln -s DSU_${newrel} dsu
## optional: Remove old release
oldrel=17.01.00
/bin/rm -rf DSU_${oldrel}
## Configure Apache to serve the directory:
# /etc/httpd/conf.d/omsa.conf
<Directory "/var/www/html/dell_repo/hardware/latest/">
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
Options +ExecCGI
</Directory>
# To install repo on clients:
wget -O - http://localserver/dell_repo/hardware/latest/bootstrap.cgi | bash
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge