Skip to content
Snippets Groups Projects
Commit bc27dfcb authored by ale's avatar ale
Browse files

Make the libvirt ssh_key_file optional in "create-env"

parent deae9d2c
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,9 @@ Vagrant.configure(2) do |config| ...@@ -54,7 +54,9 @@ Vagrant.configure(2) do |config|
libvirt.host = "{{ libvirt.remote_host }}" libvirt.host = "{{ libvirt.remote_host }}"
libvirt.username = "{{ libvirt.remote_user }}" libvirt.username = "{{ libvirt.remote_user }}"
libvirt.connect_via_ssh = true libvirt.connect_via_ssh = true
{% if libvirt.ssh_key_file %}
libvirt.id_ssh_key_file = "{{ libvirt.ssh_key_file }}" libvirt.id_ssh_key_file = "{{ libvirt.ssh_key_file }}"
{% endif %}
{% endif %} {% endif %}
end end
...@@ -149,7 +151,6 @@ DEFAULT_VARS = { ...@@ -149,7 +151,6 @@ DEFAULT_VARS = {
'libvirt': { 'libvirt': {
'remote_host': None, 'remote_host': None,
'remote_user': None, 'remote_user': None,
'ssh_key_file': 'id_ed25519',
}, },
# Ansible inventory (hosts are created dynamically). # Ansible inventory (hosts are created dynamically).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment