Hi!
-----Lauri Tirkkonen <[email protected]> skrev: -----
Till: Johan Kragsterman <[email protected]>
Från: Lauri Tirkkonen <[email protected]>
Datum: 2014-11-06 13:34
Kopia: Jorge Schrauwen <[email protected]>, [email protected]
Ärende: Re: Ang: Re: [OmniOS-discuss] Ang: Re: Ang: Re: KVM and SMF
On Thu, Nov 06 2014 13:13:19 +0100, Johan Kragsterman wrote:
> Do you mean that I should just change the "transient" to "contract"?
Yes, or you can leave the definition out, since 'contract' is the
default.
> And the "&" at the end of start/exec like this:
>
> <exec_method type='method' exec='/usr/bin/vmpfsense.sh' name='start'
> timeout_seconds='120' & />
No. <exec_method exec="/usr/bin/vmpfsense.sh &" ... /> or so in XML. You
can also set the properties via svccfg without having to much around
with XML.
That is not parsable...
root@omni:/mainpool/nfs/Backup/KVM# svccfg import pfkvm.xml
pfkvm.xml:13: parser error : xmlParseEntityRef: no name
<exec_method type='method' exec='/usr/bin/vmpfsense.sh &'
name='start' timeout
^
svccfg: couldn't parse document
root@omni:/mainpool/nfs/Backup/KVM#
Regards Johan
--
Lauri Tirkkonen | +358 50 5341376 | lotheac @ IRCnet
_______________________________________________
OmniOS-discuss mailing list
[email protected]
http://lists.omniti.com/mailman/listinfo/omnios-discuss