lib/chef/knife/ionoscloud_server_start.rb in knife-ionoscloud-6.0.0 vs lib/chef/knife/ionoscloud_server_start.rb in knife-ionoscloud-6.1.0
- old
+ new
@@ -10,15 +10,14 @@
option :datacenter_id,
short: '-D DATACENTER_ID',
long: '--datacenter-id DATACENTER_ID',
description: 'ID of the data center'
- attr_reader :description, :required_options
-
def initialize(args = [])
super(args)
@description =
'This will start a server. If the server\'s public IP was deallocated then a new IP will be assigned.'
+ @directory = 'compute-engine'
@required_options = [:datacenter_id, :ionoscloud_username, :ionoscloud_password]
end
def run
$stdout.sync = true