Task is to create a local yum repository where needed packages are already available in the /packages/downloaded_rpms directory and set the repository ID to localyum
In the second link it explains how to create repo for the local directory - createrepo /repository1
that is to set the createrepo /packages/downloaded_rpms
How to set the --repoid to localyum… Not able to figure out
I understand we need to create file with vim /etc/yum.repos.d/localyum.repo
and configure
[localyum]
name=localyum
baseurl=file:///packages/downloaded_rpms
gpgcheck=0
Is my understanding correct? Please correct if it is wrong, Thanks
@InderpreetThis shows already installed. then why it got failed ? As the tasks are advanced, now i am frequently getting failure. I perform all the required steps still i get Failed as Status. This forum is the only step to improve myself and learn from those mistakes. your help is appreciated.