libvirt: fix escapeShellArg usage
Co-Authored-By: conferno <conferno@camfex.cz>
This commit is contained in:
		
							parent
							
								
									9336b15a88
								
							
						
					
					
						commit
						b80edca6be
					
				@ -218,7 +218,7 @@ in {
 | 
			
		||||
      after = [ "systemd-udev-settle.service" "libvirtd-config.service" ]
 | 
			
		||||
              ++ optional vswitch.enable "ovs-vswitchd.service";
 | 
			
		||||
 | 
			
		||||
      environment.LIBVIRTD_ARGS = concatMapStringsSep " " escapeShellArg (
 | 
			
		||||
      environment.LIBVIRTD_ARGS = escapeShellArgs (
 | 
			
		||||
        [ "--config" configFile
 | 
			
		||||
          "--timeout" "120"     # from ${libvirt}/var/lib/sysconfig/libvirtd
 | 
			
		||||
        ] ++ cfg.extraOptions);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user