blob: d6c00b88c594ca25b847a95f24499af8fff04a6b (
plain)
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# DO NOT MODIFY THIS FILE DIRECTLY! CREATE A COPY AND MODIFY THAT INSTEAD!
## Network settings
# MAC address
#
# You can generate a new one with this command:
#
# echo "52:54:00:$(dd if=/dev/urandom bs=512 count=1 2>/dev/null | md5sum | sed 's/^\(..\)\(..\)\(..\).*$/\1:\2:\3/')"
#
MACADDR=52:54:00:10:34:35
# NIC type.
#
# Allowed:
# nat - Automatic qemu NAT network.
# br - Bridged network. Requires 'net.br0' service up and running.
# none - No network.
#
# Defaults to 'nat'.
#
#NIC_TYPE=br
# NIC model.
#
# See qemu documentation.
#
# Defaults to 'virtio'.
#
#NIC_MODEL=
## Storage settings
# Disk image
DISKIMAGE=/mnt/kvm/gentoo64.qcow2
# Drive model.
#
# See qemu documentation.
#
# Defaults to 'virtio'.
#
#DRIVE_MODEL=
# Drive format.
#
# See qemu documentation.
#
# Defaults to autodetection.
#
#DRIVE_FORMAT=
# Drive cache type.
#
# See qemu documentation.
#
# Note for zfs filesystems
# ensure you have set zfs
# # zfs set primarycache=all ${tank}
# set DRIVE_CACHE=writeback
#
# Defaults to none.
#
#DRIVE_CACHE=
## General settings
# RAM memory allocated for the virtual machine
#
# Defaults to 512M
#
#MEMORY=1G
# Processor cores allocated for the virtual machine.
#
# Defaults to 1 core
#
#SMP=2
# Foreground settings
#
# Allowed:
# vnc=:24 - Runs VNC at :24
# sdl=:0 - Runs SDL in X.org server running at :0
# none - Disables foreground
#
# Defaults to 'none'.
#
FOREGROUND="vnc=:24"
# Low privilege user that runs the virtual machine.
#
# Defaults to 'nobody'.
#DROP_USER=
# Timeout - How many seconds to wait before trying to hard-kill the virtual
# machine.
#
# Defaults to 300 seconds.
#
#TIMEOUT=60
# Any other qemu options you may want to use
OTHER_ARGS="-boot order=cd -cdrom /mnt/archive/gentoo.iso"
|