Overview
Artifact ID: | 26d73ac333524971ea6593ec27587f7b37e0ccf3 |
---|---|
Page Name: | project directory layout |
Date: | 2015-07-17 11:55:40 |
Original User: | admin |
Mimetype: | text/x-markdown |
Next | 4b4f25c1f17dbd9de642aa7fcdec536a2420bd4b |
Content
Even though virtual machines are completely independent, we need some conventions to simplify tools usage (to avoid specifying full path in the command line)
So, we adopt following convention:
- All files related to each machine are stored in the one directory, named after the machine. See [virtual machine directory].
- There are three types of virtual machine - shared, autostarted and user. shared and autostarted are stored in the some area, described in the global configuration file /etc/vws/vws.conf, user stored in ${HOME}/VWs.
- There is also /etc/vws/vm.conf which contains global configuration as shell vars and sourced by each vm script.
- There is startup script which starts autostart machines upon system startup
- There is shutdown script which stops all machines which are found running during system shutdown.