lib/kontena/machine/azure/master_provisioner.rb in kontena-cli-0.13.4 vs lib/kontena/machine/azure/master_provisioner.rb in kontena-cli-0.14.0
- old
+ new
@@ -51,21 +51,21 @@
params = {
vm_name: vm_name,
vm_user: 'core',
location: opts[:location],
- image: '2b171e93f07c4903bcad35bda10acf22__CoreOS-Stable-766.3.0',
+ image: '2b171e93f07c4903bcad35bda10acf22__CoreOS-Stable-1010.5.0',
custom_data: Base64.encode64(user_data(userdata_vars)),
ssh_key: opts[:ssh_key]
}
options = {
cloud_service_name: cloud_service_name,
deployment_name: vm_name,
virtual_network_name: opts[:virtual_network],
subnet_name: opts[:subnet],
tcp_endpoints: '80,443',
- private_key_file: opts[:ssh_key],
+ private_key_file: File.expand_path(opts[:ssh_key]),
ssh_port: 22,
vm_size: opts[:size],
}