[one-users] Contextualisation with "Upstart" (Users Digest, Vol 69, Issue 65)

Javier Fontan jfontan at opennebula.org
Tue Nov 19 03:22:19 PST 2013


As I told in the previous email we are going to move this to its own
repo. All help will be welcome.

On Mon, Nov 18, 2013 at 10:08 AM, Rolandas Naujikas
<rolandas.naujikas at mif.vu.lt> wrote:
> On 2013-11-16 16:22, Gareth Bult wrote:
>>
>> Hi,
>>
>> Ubuntu and other distro's seem to be standardising on "Upstart" and
>> certainly as of 13.10 there
>> seems to be an issue with simply linking vmcontext.sh into /etc/rc2.d.
>> I've moved over to using
>> the following script in /etc/init/ , which I'm guessing is backwards
>> compatible with to at least
>> Ubuntu 12.04 if not before.
>>
>> Where's the best place to post this sort of thing?
>>
>>
>> # /etc/init/vmcontext.conf
>> #
>> # Create interfaces file before we start the network
>> #
>> description "create /etc/network/interfaces"
>> start on (starting network-interface)
>> console output
>> pre-start script
>> /etc/init.d/vmcontext.sh start
>> ifup -a
>> end script
>> post-stop script
>> /etc/init.d/vmcontext.sh stop
>> end script
>
>
> Mine /etc/init/vmcontext.conf is
>
> start on startup and filesystem
> task
> exec /etc/init.d/vmcontext
>
> and also I removed networking restart from /etc/one-context.d/00-network,
> because it interfere with system networking start scripts.
>
> Regards, Rolandas
>
> P.S. vmcontext should configure system, but not to interfere with startup
> sequence (cloud-init does similarly).
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan



More information about the Users mailing list