Newer
Older
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
* COMMENT -*- mode: org -*-
#+Date: 2015-11-03
Time-stamp: <2015-11-04>
* make it easy to boot KVM VM on localhost.
User don't have to specify storage and config network themselves.
project code name: quickvm
cli: qvm
* Usage
print command to install dependencies, ask user to upgrade kernel maybe.
qvm install-deps
boot a VM with NAT network.
qvm --core 4 --ram 2g --disk 20g
boot a VM using existing tap device.
qvm [--network tap0] ...
choosing base OS image
qvm [--image ubuntu-12.04-x64] ...
// will download this from DFS or re-use local cache, then clone a new disk
image based on it.
qvm [--image /path/to/xxx] ...
// clone root disk from given image.
specify VM name
qvm [--name foo] ...
* Configuration
image_service.type = DFS
image_service.url = http://xxx:xxx/
#image_service.type = ceph
#image_service.url = http://xxx:xxx/
image.default = u1204x64