[OmniOS-discuss] Ang: Re: Ang: Re: Ang: Re: Ang: Re: KVM and SMF
Johan Kragsterman
johan.kragsterman at capvert.se
Thu Nov 6 13:27:20 UTC 2014
Hi!
-----Lauri Tirkkonen <lotheac at iki.fi> skrev: -----
Till: Johan Kragsterman <johan.kragsterman at capvert.se>
Från: Lauri Tirkkonen <lotheac at iki.fi>
Datum: 2014-11-06 13:34
Kopia: Jorge Schrauwen <sjorge+ml at blackdot.be>, omnios-discuss at lists.omniti.com
Ä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 at 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 at omni:/mainpool/nfs/Backup/KVM#
Regards Johan
--
Lauri Tirkkonen | +358 50 5341376 | lotheac @ IRCnet
More information about the OmniOS-discuss
mailing list