This loads the system dnf vars from /etc/dnf/vars at startup if system repos are enabled, and it substitutes the values in the sources when loaded, and when a new source is added. Also includes tests.
		
			
				
	
	
		
			7 lines
		
	
	
		
			223 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			223 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
| name = "new-repo-2-vars"
 | |
| url = "file:///tmp/lorax-empty-repo-$releasever-$basearch/"
 | |
| type = "yum-baseurl"
 | |
| check_ssl = true
 | |
| check_gpg = true
 | |
| gpgkey_urls = ["file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch"]
 |