-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Here is my kitchen.yml
`driver:
name: azurerm
retryable_tries: 120
transport:
name: sftp
ssh_key: /home/jenkins/ssh/kitchen_azure
username: ubuntu
connection_retry_sleep: 30
connection_retries: 20
provisioner:
name: chef_zero
product_name: chef
product_version: 16.10.8
max_retries: 4
wait_for_retry: 200
retry_on_exit_code:
- 1
always_update_cookbooks: true
verifier:
name: inspec
platforms:
- name: azureubuntu-22
driver:
name: azurerm
subscription_id: 'eXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
location: 'southeastasia'
machine_size: 'Standard_A2'
retry_limit: 10
image_urn: Canonical:0001-com-ubuntu-server-jammy:22_04-lts:22.04.202404090
username: ubuntu
vm_name: ifcicd-imageFactoryKitchenInstance
vnet_id: /subscriptions/exxxxxxxxxxxxxxxxx/resourceGroups/IxxxxxxxxNext/providers/Microsoft.Network/virtualNetworks/ifVnet
subnet_id: Imagefactorynextsubnet
public_ip: true
vm_tags:
Name: 'ifcicd-[img_fact_ubuntu22::ubuntu-22]kitchen instance for chef converge'
created-by: 'Kitchen'
data_disks:
- lun: 0
disk_size_gb: 4
transport:
name: sftp
ssh_key: /home/jenkins/ssh/kitchen_azure
username: ubuntu
connection_retry_sleep: 30
connection_retries: 20
suites:
- name: default
run_list:- 'recipe[so-falcon_sensor::default]'
- 'recipe[IF_Ubuntu-22_Azure::default]'
attributes:
IF_Ubuntu-22_Azure:
account_id: <%= ENV['AWS_ARTIFACTORY_TOKEN_USER'] %>
api_key: <%= ENV['AWS_ARTIFACTORY_TOKEN'] %>
org_custom_configs:
edr:
default_cid: <%= ENV['FALCON_CID'] %>
so-falcon_sensor:
default_cid: <%= ENV['FALCON_CID'] %>
do_falcon_cleanup: false
artifactoy:
user: <%= ENV['AWS_ARTIFACTORY_TOKEN_USER'] %>
api_key: <%= ENV['AWS_ARTIFACTORY_TOKEN'] %>
verifier:
inspec_tests:- test/smoke/default`
Getting error:
[SSH] connection failed, retrying in 30 seconds (#<Net::SSH::AuthenticationFailed: Authentication failed for user ubuntu@>)
Is Ubuntu-22 supported??
Metadata
Metadata
Assignees
Labels
No labels