diff --git a/ansible/roles/vm_deploy/tasks/deploy.yaml b/ansible/roles/vm_deploy/tasks/deploy.yaml index b009f7a..c83a172 100644 --- a/ansible/roles/vm_deploy/tasks/deploy.yaml +++ b/ansible/roles/vm_deploy/tasks/deploy.yaml @@ -40,7 +40,7 @@ virt-customize --format qcow2 \ -a {{ root_vhd_pool_dir }}/{{ vm_name }}_vda.qcow2 \ --hostname {{ vm_name }}.{{ vm_domain }} \ - --copy-in /tmp/eno1_{{ vm_name }}.network:/etc/systemd/network/10-eno1.network \ + --upload /tmp/eno1_{{ vm_name }}.network:/etc/systemd/network/10-eno1.network \ --append-line "/etc/hosts:127.0.1.1 {{ vm_name }}.{{ vm_domain }} {{ vm_name }}" --password ladmin:password:{{ hostvars[vm_name]['ansible_become_pass'] }} \ --root-password password:{{ hostvars[vm_name]['ansible_root_pass'] }} \