Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
vlewin committed Apr 3, 2014
1 parent 568c3f4 commit a4e7e6e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ namespace :cloud do
namespace :vm do
desc 'Creates and starts new VM instance on cloud.suse.de; Optional parameter: name'
task :create, :name do |t, args|
server = args.has_key?(:name) ? Cloud::VM.create(args[:name]) : Cloud::VM.create

# Store VM id in the environment variable so the jenkins can access it
ENV['CLOUD_VM_ID'] = server.id
args.has_key?(:name) ? Cloud::VM.create(args[:name]) : Cloud::VM.create
end

desc 'Terminate VM instance on cloud.suse.de; Required parameter: name'
Expand Down

0 comments on commit a4e7e6e

Please sign in to comment.