-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzone2.cfg
63 lines (58 loc) · 1.67 KB
/
zone2.cfg
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
#
# Define zone components
#
# Zone type. Sparse root or whole root.
# Default is sparse.
ZONE_TYPE="whole"
#ZONE_TYPE="sparse"
# Zone name
ZONE="zone2"
# Zone storage pool mountpoint.
# Zone dataset will be created during installation.
# Note: In order to create DATASET for zone (with quota)
# you MUST use top level storage pool at this parameter.
# Otherwise directory will be created for zone with
# global pool quota only!
ZONEDATA="/data"
# Zonepath forming from storage pool name and zonename
ZONEPATH="$ZONEDATA/$ZONE"
# CPU usage mode.
# If 0, shared CPU and FSS is using. If 1, then dedicated CPU is using.
DEDICATED_CPU="0"
# Default scheduling class
SCHEDCLASS="FSS"
# CPU shared
CPU="2"
# Capped CPU. Leave it blank if want to not set.
# Relative percent value. Specified only when DEDICATED_CPU is set to 0.
CAPPED_CPU=""
# CPU dedicated.
# Can be specified as range (i.e. 1-3) or single value (2).
NCPU="1-2"
# Relative resource pool importance
IMPORTANCE="2"
# Capped memory. Set to 1 to enable. Leave it blank for none.
# If set to 1, at least one of next three parameters must be specified.
CAPPED_MEM="1"
# Capped memory. If parameter is not specified, it will not be set.
MPHYS="256m"
MSWAP="256m"
MLOCK="256m"
# Filesystem
FS="/data/stage"
# Special value for fs
SPEC="/stage"
# Inherit pkg dir
IPD="/opt"
# Network address for zone
# Will be ignored if IP_TYPE specified to exclusive.
ADDR="192.168.192.11"
# Physical interface for zone
PHYS="e1000g0"
# Default router for zone. Leave it blank to none.
DEFROUTER=""
# IP type for zone. Specify "exclusive" value when appropriate.
# Leave it blank to default (shared).
IP_TYPE=""
# ZFS disk quota for zone
QUOTA="4G"