sed: replase value in config

this command should replace enable=1 to enable=0 in /etc/yum/pluginconf.d/subscription-manager.conf file.

RUN sed -Ei "s/(enabled=).*/\10/" /etc/yum/pluginconf.d/subscription-manager.conf

Last updated

Was this helpful?