Monday, May 12, 2014

Centos install from media scripts


Sometimes it is useful to install from media directly rather than take the latest version from yum for a package.

These scripts provide that, with the c6-media location mounted:

install-media.sh:

yum --disablerepo=\* --enablerepo=c6-media install $1



provides-media.sh:

yum --disablerepo=\* --enablerepo=c6-media provides $1


No comments: