When using the yum command on the xenserver7.x version, you can add --enablerepo=base,extras --releasever=7 parameters so that you can install the required packages without changing any repo files.
So you don't need to switch back and forth the value of the enable in the repo file.
When using the yum command on the xenserver7.x version, you can add
--enablerepo=base,extras --releasever=7
parameters so that you can install the required packages without changing any repo files. So you don't need to switch back and forth the value of the enable in the repo file.