This unit will always be started, but will only do anything if a `cloud-config-url=<url>` token is provided in /proc/cmdline.
		
			
				
	
	
		
			13 lines
		
	
	
		
			356 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			356 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
| [Unit]
 | |
| Description=Load cloud-config from url defined in /proc/cmdline
 | |
| Requires=coreos-setup-environment.service
 | |
| After=coreos-setup-environment.service
 | |
| Before=user-config.target
 | |
| ConditionKernelCommandLine=cloud-config-url
 | |
| 
 | |
| [Service]
 | |
| Type=oneshot
 | |
| RemainAfterExit=yes
 | |
| EnvironmentFile=-/etc/environment
 | |
| ExecStart=/usr/bin/coreos-cloudinit --from-proc-cmdline
 |