[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian ova instance generator

Dear Lars,

Lars Wirzenius <liw@liw.fi> writes:

> You can also just create usr/sbin/policy-rc.d as a shell script that
> exits with 101, which may or may not be easier to deal with. Like
> this:
> cat <<EOF > "$rootdir/usr/sbin/policy-rc.d"
> #!/bin/sh
> exit 101
> chmod a+x "$rootdir/usr/sbin/policy-rc.d"
> Remember to delete it afterwards.

Thanks a lot! This is a much cleaner solution than I did.



And Thank you Lukas and Jonas. I'll just use this simple one mentioned
here, and will return to this topic when things get more complicated.

BTW, I came upon the debian template from lxc[1] package, which does
essentially the same thing with policy-rc.d.


1. http://packages.debian.org/sid/lxc

Reply to: