Revision 2b05cde9 src/cli/onehost

View differences:

src/cli/onehost
32 32
require 'command_parser'
33 33
require 'one_helper/onehost_helper'
34 34
require 'one_helper/onecluster_helper'
35
require 'ec2_driver'
35 36

  
36 37
cmd=CommandParser::CmdParser.new(ARGV) do
37 38
    usage "`onehost` <command> [<args>] [<options>]"
......
124 125
            exit -1
125 126
        end
126 127

  
127
        if !options[:ec2access].nil? && !options[:ec2secret].nil?
128
            puts "madafakaaa"
129
            puts "el acceso es "+options[:ec2access]
130
            puts "la key es "+options[:ec2secret]
131
            exit (-1)
132
        end
128
        encrypt(options) 
133 129

  
134 130
        cid = options[:cluster] || ClusterPool::NONE_CLUSTER_ID
135 131

  

Also available in: Unified diff