yum-config-manager
Jump to navigation
Jump to search
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo
yum-config-manager --save --setopt=kubernetes.skip_if_unavailable=true
Example[edit]
yum-config-manager Loaded plugins: fastestmirror, ovl ======================================================================================================================== main ======================================================================================================================== [main] alwaysprompt = True assumeno = False assumeyes = False autocheck_running_kernel = True autosavets = True bandwidth = 0 bugtracker_url = http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum cache = 0 cachedir = /var/cache/yum/x86_64/7 check_config_file_age = True clean_requirements_on_remove = False color = auto color_list_available_downgrade = dim,cyan color_list_available_install = normal color_list_available_reinstall = bold,underline,green color_list_available_running_kernel = bold,underline color_list_available_upgrade = bold,blue color_list_installed_extra = bold,red color_list_installed_newer = bold,yellow color_list_installed_older = bold color_list_installed_reinstall = normal color_list_installed_running_kernel = bold,underline color_search_match = bold color_update_installed = normal color_update_local = bold color_update_remote = normal commands = debuglevel = 2 deltarpm = 2 deltarpm_metadata_percentage = 100 deltarpm_percentage = 75 depsolve_loop_limit = 100 disable_includes = diskspacecheck = True distroverpkg = centos-release downloaddir = downloadonly = enable_group_conditionals = True enabled = True enablegroups = True errorlevel = 2 exactarch = True exactarchlist = exclude = exit_on_lock = False failovermethod = priority fssnap_abort_on_errors = any fssnap_automatic_keep = 1 fssnap_automatic_post = False fssnap_automatic_pre = False fssnap_devices = !*/swap, !*/lv_swap fssnap_percentage = 100 ftp_disable_epsv = False gaftonmode = False gpgcheck = True group_command = objects group_package_types = mandatory, default groupremove_leaf_only = False history_list_view = single-user-commands history_record = True history_record_packages = yum, rpm http_caching = all installonly_limit = 5 installonlypkgs = kernel, kernel-bigmem, installonlypkg(kernel), installonlypkg(kernel-module), installonlypkg(vm), kernel-enterprise, kernel-smp, kernel-debug, kernel-unsupported, kernel-source, kernel-devel, kernel-PAE, kernel-PAE-debug installroot = / ip_resolve = keepalive = True keepcache = False kernelpkgnames = kernel, kernel-smp, kernel-enterprise, kernel-bigmem, kernel-BOOT, kernel-PAE, kernel-PAE-debug loadts_ignoremissing = False loadts_ignorenewrpm = False loadts_ignorerpm = False localpkg_gpgcheck = False logfile = /var/log/yum.log max_connections = 0 mddownloadpolicy = sqlite mdpolicy = group:small metadata_expire = 21600 metadata_expire_filter = read-only:present minrate = 0 mirrorlist_expire = 86400 multilib_policy = best obsoletes = True override_install_langs = en_US.utf8 overwrite_groups = False password = payload_gpgcheck = False persistdir = /var/lib/yum pluginconfpath = /etc/yum/pluginconf.d pluginpath = /usr/share/yum-plugins, /usr/lib/yum-plugins plugins = True progess_obj = protected_multilib = True protected_packages = yum, systemd proxy = False proxy_password = proxy_username = query_install_excludes = False recent = 7 recheck_installed_requires = True remove_leaf_only = False repo_gpgcheck = False repopkgsremove_leaf_only = False reposdir = /etc/yum/repos.d, /etc/yum.repos.d reset_nice = True retries = 10 rpm_check_debug = True rpmverbosity = info shell_exit_status = 0 showdupesfromrepos = False skip_broken = False skip_missing_names_on_install = True skip_missing_names_on_update = True ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True syslog_device = /dev/log syslog_facility = LOG_USER syslog_ident = throttle = 0 timeout = 30.0 tolerant = True tsflags = nodocs ui_repoid_vars = releasever, basearch upgrade_group_objects_upgrade = True upgrade_requirements_on_install = False usercache = True username = usr_w_check = True ===================================================================================================================== repo: base ===================================================================================================================== [base] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/base check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/base/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/base/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 hdrdir = /var/cache/yum/x86_64/7/base/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container mirrorlist_expire = 86400 name = CentOS-7 - Base old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/base pkgdir = /var/cache/yum/x86_64/7/base/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = base/7/x86_64 ui_repoid_vars = releasever, basearch username = =============================================================================================================== repo: docker-ce-stable =============================================================================================================== [docker-ce-stable] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = https://download.docker.com/linux/centos/7/x86_64/stable cache = 0 cachedir = /var/cache/yum/x86_64/7/docker-ce-stable check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/docker-ce-stable/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/docker-ce-stable/gpgdir gpgkey = https://download.docker.com/linux/centos/gpg hdrdir = /var/cache/yum/x86_64/7/docker-ce-stable/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Docker CE Stable - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/docker-ce-stable pkgdir = /var/cache/yum/x86_64/7/docker-ce-stable/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = docker-ce-stable/7/x86_64 ui_repoid_vars = releasever, basearch username = ==================================================================================================================== repo: extras ==================================================================================================================== [extras] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/extras check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/extras/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/extras/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 hdrdir = /var/cache/yum/x86_64/7/extras/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=container mirrorlist_expire = 86400 name = CentOS-7 - Extras old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/extras pkgdir = /var/cache/yum/x86_64/7/extras/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = extras/7/x86_64 ui_repoid_vars = releasever, basearch username = ================================================================================================================== repo: kubernetes ================================================================================================================== [kubernetes] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64 cache = 0 cachedir = /var/cache/yum/x86_64/7/kubernetes check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/kubernetes/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/kubernetes/gpgdir gpgkey = https://packages.cloud.google.com/yum/doc/yum-key.gpg, https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg hdrdir = /var/cache/yum/x86_64/7/kubernetes/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Kubernetes old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/kubernetes pkgdir = /var/cache/yum/x86_64/7/kubernetes/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = True retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = kubernetes ui_repoid_vars = releasever, basearch username = =================================================================================================================== repo: updates ==================================================================================================================== [updates] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/updates check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/updates/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/updates/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 hdrdir = /var/cache/yum/x86_64/7/updates/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=container mirrorlist_expire = 86400 name = CentOS-7 - Updates old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/updates pkgdir = /var/cache/yum/x86_64/7/updates/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = updates/7/x86_64 ui_repoid_vars = releasever, basearch username =
Related[edit]
yum repolist
See also[edit]
- YUM,
[ install | update | upgrade | search | repolist | list| updateinfo | utils | config-manager | /etc/yum.conf ], /etc/yum/vars/releasever
Advertising: