def prepare(project_root, environment)
      # Check already prepared nodes
      nodes_to_prepare = check_nodes_to_prepare(project_root, environment)
      # Output the nodes to be prepared
      if nodes_to_prepare.count > 0
        title _('wizard.node.prepare_title')
        nodes_to_prepare.each{|node| msg(node.hostname)}
        linebreak
        # For all environments regenerate the deploy file
        Bebox::Node.regenerate_deploy_file(project_root, environment, nodes_to_prepare)
        # If environment is 'vagrant' Prepare and Up the machines
        up_vagrant_machines(project_root, nodes_to_prepare) if environment == 'vagrant'
        # For all the environments do the preparation
        nodes_to_prepare.each do |node|
          node.prepare
          ok _('wizard.node.preparation_success')
        end
      else
        warn _('wizard.node.no_prepare_nodes')
      end
      return true
    end
def prepare(project_root, environment)
      # Check already prepared nodes
      nodes_to_prepare = check_nodes_to_prepare(project_root, environment)
      # Output the nodes to be prepared
      if nodes_to_prepare.count > 0
        title _('wizard.node.prepare_title')
        nodes_to_prepare.each{|node| msg(node.hostname)}
        linebreak
        # For all environments regenerate the deploy file
        Bebox::Node.regenerate_deploy_file(project_root, environment, nodes_to_prepare)
        # If environment is 'vagrant' Prepare and Up the machines
        up_vagrant_machines(project_root, nodes_to_prepare) if environment == 'vagrant'
        # For all the environments do the preparation
        nodes_to_prepare.each do |node|
          node.prepare
          ok _('wizard.node.preparation_success')
        end
      else
        warn _('wizard.node.no_prepare_nodes')
      end
      return true
    end
Prepare the nodes in a environment