kubic-project / kubic-terraform-kvm

Kubic Terraform script using KVM/libvirt
Apache License 2.0
31 stars 10 forks source link

download-image.py fails if image is not already downloaded #9

Closed vadorovsky closed 5 years ago

vadorovsky commented 5 years ago
 mrostecki   master  ~  repos  kubic-terraform-kvm  ./download-image.py 
Traceback (most recent call last):
  File "./download-image.py", line 45, in <module>
    if local_sha256(dst) == remote_sha256(url):
  File "./download-image.py", line 16, in local_sha256
    with open(filename, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'kubic.qcow2'