lib/vagrant-rke2/provisioner.rb
# This handles outputting the communication line back to the UI
This handles outputting the communication line back to the UI
This handles outputting the communication line back to the UI
def handle_comm(type, data)
        if [:stderr, :stdout].include?(type)
          options = {}
          options[:color] = type == :stdout ? :green : :red
          @machine.ui.detail(data.chomp, **options)
        end
      end
def handle_comm ( type , data ) if [ :stderr , :stdout ] . include? ( type ) options = { } options [ :color ] = type == :stdout ? :green : :red @machine . ui . detail ( data . chomp , ** options ) end end
This handles outputting the communication line back to the UI
This handles outputting the communication line back to the UI
# Output the line with the proper color based on the stream.
type
data