-
Notifications
You must be signed in to change notification settings - Fork 4
/
metadata.xml
85 lines (71 loc) · 3.08 KB
/
metadata.xml
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
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type='manifest' name='illumos-metadata'>
<service name='system/illumos/metadata' type='service' version='1'>
<create_default_instance enabled='true' />
<single_instance />
<!-- File systems should all be mounted before we begin: -->
<dependency name='fs-root' grouping='require_all' restart_on='none'
type='service'>
<service_fmri value='svc:/system/filesystem/root' />
</dependency>
<dependency name='fs-minimal' grouping='require_all' restart_on='none'
type='service'>
<service_fmri value='svc:/system/filesystem/minimal' />
</dependency>
<!-- We are going to manipulate the network configuration, but it should
be in the expected state (with all management daemons running) before
we try to do that. -->
<dependency name='loopback' grouping='require_all' restart_on='none'
type='service'>
<service_fmri value='svc:/network/loopback' />
</dependency>
<dependency name='physical' grouping='require_all' restart_on='none'
type='service'>
<service_fmri value='svc:/network/physical' />
</dependency>
<!-- Run after initial device configuration has completed. -->
<dependency name='devices' grouping='require_all' restart_on='none'
type='service'>
<service_fmri value='svc:/milestone/devices' />
</dependency>
<!-- Hold the network and system configuration milestones back, in case
we end up making changes to the IP stack, hostname, or the DNS
configuration, etc. -->
<dependent name='network' grouping='optional_all' restart_on='none'>
<service_fmri value='svc:/milestone/network' />
</dependent>
<dependent name='sysconfig' grouping='optional_all' restart_on='none'>
<service_fmri value='svc:/milestone/sysconfig' />
</dependent>
<!-- "Hostname:" is printed on the console (at least on OmniOS) by the
svc:/system/identity:node instance. Make sure node identity runs
after we do. -->
<dependent name='identity' grouping='optional_all' restart_on='none'>
<service_fmri value='svc:/system/identity' />
</dependent>
<!-- Routing setup looks at /etc/defaultrouter when making some
decisions about system configuration. We should run before it, to make
sure we have populated that file. -->
<dependent name='routing' grouping='optional_all' restart_on='none'>
<service_fmri value='svc:/network/routing-setup' />
</dependent>
<exec_method type='method' name='start'
exec='/usr/lib/metadata | tee /dev/msglog'
timeout_seconds='300' />
<exec_method type='method' name='stop' exec=':true' timeout_seconds='3' />
<property_group name='startd' type='framework'>
<propval name='duration' type='astring' value='transient' />
</property_group>
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang='C'>illumos Metadata Agent</loctext>
</common_name>
<description>
<loctext xml:lang='C'>Configures guest based on Metadata</loctext>
</description>
</template>
</service>
</service_bundle>
<!-- vim: set ts=2 sts=2 sw=2 et: -->