lib/rudy/cli/aws/ec2/images.rb in solutious-rudy-0.6.8 vs lib/rudy/cli/aws/ec2/images.rb in solutious-rudy-0.7.0
- old
+ new
@@ -91,11 +91,11 @@
opts = {}
opts[:group] = @option.group if @option.group
opts[:group] = :any if @option.all
opts[:id] = @option.instid if @option.instid
- puts "You may want to run rudy-ec2 #{@alias} --prepare before this.".color(:blue)
+ puts "You may want to run rudy-ec2 #{@alias} --prepare before this.".bright
puts "This feature is experimental. Make sure you enter the bucket"
puts "and image names correctly because if they're wrong the image"
puts "won't get created and you'll be annoyed that you waited."
# Options to be sent to Net::SSH
@@ -123,9 +123,11 @@
puts inst.dns_public
# Open the connection and run the command
rbox = Rye::Box.new(inst.dns_public, ssh_opts)
+
+ # TODO: Replace with rbox.upload
# ~/.rudy, /etc/motd, history -c, /etc/hosts, /var/log/rudy*
cert = File.read(@@global.cert)
pk = File.read(@@global.privatekey)
rbox.safe = false