@fall711 said in FOG offline installation:
The problem is that centos repo system use random host with different IP address and some are not allowed.
You can easily specify exactly what mirror you want to use by commenting out the mirrorlist directive inside of all the /etc/yum.repos.d/*.repo files and instead using the baseurl directive. Here’s a writeup on it, there are many others online too:
https://www.centos.org/forums/viewtopic.php?t=20390
Just pick a mirror nearby you, and explicitly define that. You will need to do the same for the remi repository as well:
https://www.centos.org/download/mirrors/
http://rpms.famillecollet.com/
There is never a problem that cannot be solved.