Open rajksbth opened 6 years ago
Thanks @doomedraven but the link you have provided is cuckoo repository and i want to contribute it in community repo. Another thing is that we need to keep one more file in $CWD/conf/ directory. There are three files.
How to commit it in community repo.
that doesn't work in that way, that goes to that config.py will generate updated correct config in $CWD/conf/
Hey @rajksbth
Great to see you are contributing! :smile:
What @doomedraven says is correct. The configs are generated on CWD creation. For this, the templates stored in here are used: https://github.com/cuckoosandbox/cuckoo/tree/master/cuckoo/private/cwd/conf
https://github.com/cuckoosandbox/cuckoo/blob/master/cuckoo/private/cwd/conf/virtualbox.conf
These templates are filled with values from config.py, such as Virtualbox here: https://github.com/cuckoosandbox/cuckoo/blob/master/cuckoo/common/config.py#L262
You can create a new one in that folder for your machinery module. Then, if you want to share the module with the community, it is best to make a PR on the Cuckoo repository.
I have created one cuckoo machinery module for openstack and want to contribute it in community. There is one machinery module directory in community repo but where i should keep the conf file for that machinery module.