diff options
Diffstat (limited to 'roles/hyperv/tasks/convert.yml')
-rw-r--r-- | roles/hyperv/tasks/convert.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/hyperv/tasks/convert.yml b/roles/hyperv/tasks/convert.yml new file mode 100644 index 0000000..99af9c1 --- /dev/null +++ b/roles/hyperv/tasks/convert.yml @@ -0,0 +1,5 @@ +- name: Convert raw to vhd + command: qemu-img convert -f raw "{{ vyos_raw_img }}" -O vpc "{{ vyos_hyperv_img }}" +- name: Copy image + become: false + command: cp "{{ vyos_hyperv_img }}" . |