-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
29 lines (27 loc) · 939 Bytes
/
README
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
==============================================================================
KVMCTL - Simple way to manage your KVM virtual machines
==============================================================================
Use example:
# kvmctl.sh --list
machine1
machine2
machineN
# kvmctl.sh machine2 startd
Starting up 'machine2' ... (daemon mode)
# kvmctl.sh --show
MACHINE PID STIME TIME
machine1 4856 Feb11 10:34:59
machine2 11155 Mar12 00:05:45
# kvmctl.sh machine1 stop
Shutting down 'machine1' ...
Config file example:
KVM_M=1G
KVM_HDA=$BASEDIR/$MACHINE/root.qcow2
KVM_HDB=$BASEDIR/$MACHINE/swap.qcow2
KVM_HDC=$BASEDIR/.imgs/mysql.raw
KVM_HDD=$BASEDIR/.imgs/tmp.qcow2
KVM_NET="nic,macaddr=52:54:00:00:02:52 -net tap"
KVM_PIDFILE=/var/run/192.168.0.249.pid
KVM_TCP_PORT=10000
KVM_MONITOR="tcp:127.0.0.1:${KVM_TCP_PORT},server,nowait"
KVM_EXTRA=