This is actually automatically done for the service from the apt package, but I like specifying it explicitly as well.
		
			
				
	
	
		
			11 lines
		
	
	
		
			137 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			137 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
#
 | 
						|
# Cookbook:: kosmos_kvm
 | 
						|
# Recipe:: guest
 | 
						|
#
 | 
						|
 | 
						|
package %w(qemu-guest-agent)
 | 
						|
 | 
						|
service "qemu-guest-agent" do
 | 
						|
  action [:enable, :start]
 | 
						|
end
 |