diff options
Diffstat (limited to 'roles/vm/guest/deploy/tasks')
-rw-r--r-- | roles/vm/guest/deploy/tasks/main.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/vm/guest/deploy/tasks/main.yml b/roles/vm/guest/deploy/tasks/main.yml index f22af8af..5fb5b56f 100644 --- a/roles/vm/guest/deploy/tasks/main.yml +++ b/roles/vm/guest/deploy/tasks/main.yml @@ -7,7 +7,6 @@ register: output_image_info ## TODO: prepare directory for disk images - ## TODO: compute disk path based on install.disks.primary and install.disks.(scsi|virtio) ## TODO: actually call this directly and make file replacement atomic!! ## Probably by writing and action plugin based on this: https://github.com/socratesx/Ansible-Decompress - name: copy disk image @@ -15,7 +14,7 @@ prompt: | Please copy the image to the vm-host i.e. by calling this: - cat {{ output_image_info.stat.path }} | {{ vm_deploy_decompressors[output_image_info.stat.mimetype] }} | ssh {{ vm_host.name }} 'cat > {{ install.disks.scsi.sda.path }}' + cat {{ output_image_info.stat.path }} | {{ vm_deploy_decompressors[output_image_info.stat.mimetype] }} | ssh {{ vm_host.name }} 'cat > {{ vm_deploy_primary_disk.path }}' When done press ENTER to continue or CTRL-C then A to abort. |