1
2
3
4
5
6
7
8
9
10
11
|
1
2
3
4
5
6
7
8
9
10
11
|
-
+
|
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:
1. All files related to each machine are stored in the one directory, named after the machine. See [virtual machine directory].
1. All files related to each machine are stored in the one directory, named after the machine. See [virtual machine directory](wiki?name=virtual+machine+directory).
2. 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.
3. There is also /etc/vws/vm.conf which contains global configuration as shell vars and sourced by each vm script.
4. There is startup script which starts autostart machines upon system startup
5. There is shutdown script which stops all machines which are found running during system shutdown.
|