Issue creating Windows VM
umarbilal471 opened this issue · 0 comments
I am running the following command:
vmcloak init --verbose --win7x64 win7x64base --cpus 2 --ramsize 2048
It gives the following error:
/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import utils, x509
WARNING:vmcloak.misc:Failed to download file from 'https://www.python.org/ftp/python/2.7.6/python-2.7.6.msi', got error: HTTPSConnectionPool(host='www.python.org', port=443): Max retries exceeded with url: /ftp/python/2.7.6/python-2.7.6.msi (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fedf91bd690>: Failed to establish a new connection: [Errno -2] Name or service not known',))
INFO:vmcloak.abstract:Got file 'python-2.7.6.msi' from 'https://cuckoo.sh/vmcloak/python-2.7.6.msi', with matching checksum.
Traceback (most recent call last):
File "/home/cuckoo/cuckoo/bin/vmcloak", line 8, in
sys.exit(main())
File "/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(*args, **kwargs)
File "/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/vmcloak/main.py", line 251, in init
if not h.buildiso(mount, iso_path, bootstrap, tempdir):
File "/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/vmcloak/abstract.py", line 250, in buildiso
copytreelower(mount, outdir)
File "/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/vmcloak/misc.py", line 53, in copytreelower
os.path.join(dstdir, path.lower()))
File "/usr/lib/python2.7/shutil.py", line 98, in copyfile
copyfileobj(fsrc, fdst)
File "/usr/lib/python2.7/shutil.py", line 63, in copyfileobj
buf = fsrc.read(length)
IOError: [Errno 5] Input/output error
Can anyone help me sort this out?