The whole update process on new installed VMs are painful and since you have to download all the updates as many as VMs that you have, it accompanies with bleeding as well! I have 3 VMs that requires to be up to date. I looked up for a better way in order to perform the update process. The result is the followings:
If you have the same OS on all of your VMs and host, then on either of your HOST or one of your VMs do the followings as super user:
# yum install yum-downloadonly
“yum-downloadonly” can be used to only download the packages which in my case are rpm packages.
You may use the following options:
–downloadonly : don’t update, just download an rpm file
–downloaddir=/path/to/dir : specifies an alternate directory to store packages such as /tmp
Create a directory called update in your /tmp and download the packages to your /tmp/update:
# yum update -y –downloadonly –downloaddir=/tmp/update/
In order to install/update the packages, switch to the /tmp/update directory and run this:
# yum localinstall *.rpm
use scp to copy over the update folder to other VMs and update other machines.