qemu-toolkit 0.2.18 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +47 -0
- data/doc/README.7 +55 -0
- data/doc/README.md +47 -0
- data/doc/index.txt +1 -0
- data/doc/qemu-toolkit-configuration.7 +196 -0
- data/doc/qemu-toolkit-configuration.7.ronn +126 -0
- data/doc/qemu-toolkit-install.7 +224 -0
- data/doc/qemu-toolkit-install.7.ronn +136 -0
- data/doc/qemu-toolkit-overview.7 +122 -0
- data/doc/qemu-toolkit-overview.7.ronn +82 -0
- data/doc/storadm.1 +142 -0
- data/doc/storadm.1.ronn +101 -0
- data/doc/vmadm.1 +116 -0
- data/doc/vmadm.1.ronn +86 -0
- metadata +29 -13
- data/README +0 -7
data/doc/vmadm.1.ronn
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
|
2
|
+
# vmadm(1) -- manages qemu-toolkit virtual machines
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`vmadm` [-h]<br>
|
7
|
+
`vmadm list`<br>
|
8
|
+
`vmadm create` <name><br>
|
9
|
+
`vmadm start` [--bootiso <iso_file>]<name><br>
|
10
|
+
`vmadm shutdown` <name><br>
|
11
|
+
`vmadm kill` <name><br>
|
12
|
+
`vmadm monitor` <name><br>
|
13
|
+
`vmadm vnc` <name><br>
|
14
|
+
`vmadm console` <name><br>
|
15
|
+
|
16
|
+
## DESCRIPTION
|
17
|
+
|
18
|
+
The `vmadm` command manages virtual machines. A virtual machine is defined
|
19
|
+
by using the `virtual_machine` syntax in a file below `/etc/qemu-toolkit`.
|
20
|
+
(see qemu-toolkit-configuration(7))
|
21
|
+
|
22
|
+
* `vmadm list`:
|
23
|
+
Lists all virtual machines that are defined on this system.
|
24
|
+
|
25
|
+
* `vmadm create` <name>:
|
26
|
+
Creates a new virtual machine definition and fills it with sensible default
|
27
|
+
values.
|
28
|
+
|
29
|
+
* `vmadm start` <name>:
|
30
|
+
Starts a virtual machine using QEMU/KVM.
|
31
|
+
|
32
|
+
* `--bootiso` <iso_file>:
|
33
|
+
Boots the virtual machine once from virtual cdrom backed by the iso file
|
34
|
+
given. Upon reboot, the machine will use its first disk to boot.
|
35
|
+
|
36
|
+
* `vmadm shutdown` <name>:
|
37
|
+
Sends the virtual machine a system/powerdown event.
|
38
|
+
|
39
|
+
* `vmadm kill` <name>:
|
40
|
+
Immediately kills the virtual machine.
|
41
|
+
|
42
|
+
* `vmadm monitor` <name>:
|
43
|
+
Enters an interactive monitor mode that controls the virtual machine. The
|
44
|
+
machine must be running for this to work. Use Control+D to exit.
|
45
|
+
|
46
|
+
* `vmadm vnc` <name>:
|
47
|
+
Connect the terminal to a VNC server that displays the console of the
|
48
|
+
virtual machine.
|
49
|
+
|
50
|
+
* `vmadm console` <name>:
|
51
|
+
Connects the terminal to the serial console of the virtual machine. Note
|
52
|
+
that this must be specially configured for most guest OSes.
|
53
|
+
|
54
|
+
## EXAMPLES
|
55
|
+
|
56
|
+
### Example 1 Boot a virtual machine
|
57
|
+
The following command starts the virtual machine and boots it from its
|
58
|
+
first disk.
|
59
|
+
|
60
|
+
# vmadm start my_vm
|
61
|
+
|
62
|
+
### Example 2 Install a virtual machine from ISO
|
63
|
+
The following command boots the virtual machine from a virtual cdrom. The
|
64
|
+
cdrom is backed by an ISO file called ubuntu.iso.
|
65
|
+
|
66
|
+
# vmadm start my_vm --bootiso ubuntu.iso
|
67
|
+
|
68
|
+
## BUGS
|
69
|
+
|
70
|
+
When using iscsi targets, you have to relaunch the vm twice to get it to
|
71
|
+
start up. We have code in place to work around this, but it is not effective.
|
72
|
+
Work to fix this is underway.
|
73
|
+
|
74
|
+
## SEE ALSO
|
75
|
+
|
76
|
+
qemu-toolkit-overview(7), qemu-toolkit-install(7),
|
77
|
+
qemu-toolkit-configuration(7), storadm(1), vmadm(1), README(7)
|
78
|
+
|
79
|
+
## AUTHORS
|
80
|
+
|
81
|
+
Copyright (c) 2012 Kaspar Schiess.
|
82
|
+
|
83
|
+
## COPYRIGHT
|
84
|
+
|
85
|
+
This tool is under a MIT license. Please see the LICENSE file in the original
|
86
|
+
source.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qemu-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,35 +9,37 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: clamp
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
21
|
+
version: '0.5'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
description:
|
29
|
+
version: '0.5'
|
30
|
+
description: ! "\n qemu-toolkit is a collection of small tools that help in managing
|
31
|
+
and\n running QEMU virtual machines on Illumos/OmniOS. It supports both\n local
|
32
|
+
operation and SAN-style block storage via iSCSI. \n "
|
31
33
|
email: kaspar.schiess@technologyastronauts.ch
|
32
34
|
executables:
|
33
35
|
- vmadm
|
34
36
|
- storadm
|
35
37
|
extensions: []
|
36
38
|
extra_rdoc_files:
|
37
|
-
- README
|
39
|
+
- README.md
|
38
40
|
files:
|
39
41
|
- LICENSE
|
40
|
-
- README
|
42
|
+
- README.md
|
41
43
|
- lib/qemu-toolkit/backend/illumos.rb
|
42
44
|
- lib/qemu-toolkit/config.rb
|
43
45
|
- lib/qemu-toolkit/dsl.rb
|
@@ -52,12 +54,26 @@ files:
|
|
52
54
|
- bin/storadm
|
53
55
|
- bin/vmadm
|
54
56
|
- bin/vmconnect
|
55
|
-
|
56
|
-
|
57
|
+
- doc/index.txt
|
58
|
+
- doc/qemu-toolkit-configuration.7
|
59
|
+
- doc/qemu-toolkit-configuration.7.ronn
|
60
|
+
- doc/qemu-toolkit-install.7
|
61
|
+
- doc/qemu-toolkit-install.7.ronn
|
62
|
+
- doc/qemu-toolkit-overview.7
|
63
|
+
- doc/qemu-toolkit-overview.7.ronn
|
64
|
+
- doc/README.7
|
65
|
+
- doc/README.md
|
66
|
+
- doc/storadm.1
|
67
|
+
- doc/storadm.1.ronn
|
68
|
+
- doc/vmadm.1
|
69
|
+
- doc/vmadm.1.ronn
|
70
|
+
homepage: http://kschiess.bitbucket.org/qemu-toolkit/README.7.html
|
71
|
+
licenses:
|
72
|
+
- MIT
|
57
73
|
post_install_message:
|
58
74
|
rdoc_options:
|
59
75
|
- --main
|
60
|
-
- README
|
76
|
+
- README.md
|
61
77
|
require_paths:
|
62
78
|
- lib
|
63
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -65,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
81
|
requirements:
|
66
82
|
- - ! '>='
|
67
83
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
84
|
+
version: 1.9.3
|
69
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
86
|
none: false
|
71
87
|
requirements:
|