Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue creating Windows VM #198

Open
umarbilal471 opened this issue May 24, 2022 · 0 comments
Open

Issue creating Windows VM #198

umarbilal471 opened this issue May 24, 2022 · 0 comments

Comments

@umarbilal471
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant