lib/chef/knife/google_server_create.rb in knife-google-3.3.3 vs lib/chef/knife/google_server_create.rb in knife-google-3.3.6

- old
+ new

@@ -182,10 +182,10 @@ # We won't know the password until the instance is created and we forceably reset it. config[:winrm_password] = "will_change_this_later" end def validate_params! - check_for_missing_config_values!(:machine_type, :image, :boot_disk_size, :network) + check_for_missing_config_values!(:gce_zone, :machine_type, :image, :boot_disk_size, :network) raise "You must supply an instance name." if @name_args.first.nil? raise "Boot disk size must be between 10 and 10,000" unless valid_disk_size?(boot_disk_size) if locate_config_value(:bootstrap_protocol) == "winrm" && locate_config_value(:gce_email).nil? raise "Please provide your Google Cloud console email address via --gce-email. " \ "It is required when resetting passwords on Windows hosts."