This repository was archived by the owner on Nov 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrewrite.txt
More file actions
116 lines (78 loc) · 2.99 KB
/
Copy pathrewrite.txt
File metadata and controls
116 lines (78 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
Ideas for a rewrite of this Project
(New name: leovms Leonberg Virtual Machine Sharing/or leoclient2):
-------------------------------------------------------
Server:
-------------------------------------------------------
STEP1:
- add a project p_leovms: Uploaders for snapshots
- include a /etc/samba/smb.conf.leovms
-> must be (done by root)
1) included in /etc/samba/smb.conf.shares
2) service smbd reload
This makes 2 Shares available:
leovms-data /home/leovms/data RO for base image and snapshots
leovms-upload /home/leovms/upload RW writeble for the group/project p_leovms
STEP2:
- include a /etc/samba/smb.conf.leovms-ldap
must be configured with ip, ... to run on a different machine
-> necessary to see the ldap-users
OR:
What is simpler than before
- Data is always in /home/leovms
- no Configuration file for the server
- Konfiguration for the clients in in
- /home/leovms/data/leovms-client.conf
- where are the caches
- how large are the caches
- /home/leovms/data/leovms-vbox.conf
- where are the unzipped machines
- In /home/leovms/data or different virtual machines:
/home/leovms/data/vm-winxp
/home/leovms/data/vm-win7
/home/leovms/data/vm-tails
/home/leovms/data/vm-ubuntu1204
.......
These Contain for this vm:
1) Base Image
2) Snapshots
3) Virtualbox Configuration files
4) Server configuration files (copied on every start for offline use)
------------------------------------------------------------
Client:
------------------------------------------------------------
- mounts the shares in /etc/fstab (possibly in leovms-starter???)
- leovms-starter (leovirtstarter)
- at start:
1) which vm (vm-winxp, vm-win7, virtualBox) -> pick one
2) set $HOME to $HOME/.leovms
(keep $HOME saved in script variable)
ONE of the possible vm's is used and displayed as before
3) Display list of snapshots -> pick one
4) extract base file (if necessary)
5) extract snapshot
6) copy configuration files to the (new) $HOME
7) Patch the configuration file
- Patch the shared directory
- ... what else ?
8) Start the machine
- configure with option:
- RAM size
- ... what else?
- uploading a VM from virtualbox
- additional menu sets $HOME to the normal,real $HOME of the user.
Then a list of virtalbox machines is displayd, which can be uploaeded
(uuids a uploaded and the fitting snapshot file)
- offline use (vm is chosen already)
- additional menu shows
left right
- available vm's on the server - cached snapshots
- checkboxes for each machine - free cache size, ...
- sync machines:
pick checkboxes, then press sync button
-> copies snapshots in the cache
Configuration:
- see server
Additional configuration in image.conf
- update RAM/RAM fixed, ...
Questions:
Variable VBOX_USER_HOME