I've got a SLES server installed by someone who is not available.
I've checked /etc/zypp/repos.d
, there is a repo file
SUSE-Linux-Enterprise-Server-11-SP4 11.4.4-1.109.repo
It's content is :
[SUSE-Linux-Enterprise-Server-11-SP4 11.4.4-1.109]
name=SUSE-Linux-Enterprise-Server-11-SP4 11.4.4-1.109
enabled=1
autorefresh=0
baseurl=cd:///?devices=/dev/sr0
path=/
type=yast2
keeppackages=0
The CD repository (/dev/sr0) is not available.
I would like to add default net repository/repositories to it however after searching a lot for I could not find how to do that. I know how to add a repository, but I don't know how to add default repositories.
Could you please provide zypper addrepo
command for them?
EDIT This question can be applied generically to any version of SLES, not just for SLES 11 SP4 as when it was originally asked.