# File lib/cloudmasterd.rb, line 155 def _koan(host, system_name, repo) # Run the koan process output = `func "#{host}" call virt install #{repo} #{system_name} True #{system_name} /images` # Throw an exception if the process failed raise output unless $?.success? # Make the new host autostart `func "#{host}" call virt autostart #{system_name}` end