On Wed, Sep 18, 2013 at 09:08:18PM +0200, Lars Bräuer wrote: > Thanks to the both of you Daniel and Herbert. > Not specifying -d debian makes sense. > Herbert: There is actually no debian directory in > /etc/vservers/.distributions/ and .common has no > scripts. The defaults are in /usr/lib*/util-vserver/distributions/ but they can be overridden with the given config pathes. > Do you mean to override the default post-install > scripts by simply setting up a debian directory? For example, or as Daniel suggested, just leave out the distro (-d) part if you do not need any distro specific scripts to be executed after unpacking the tar. HTC, Herbert > Best regards, > Lars > On 18.09.2013 20:44, Daniel Hokka Zakrisson wrote: >> Hi, >> Lars Bräuer wrote: >>> Hello, >>> we roll out some vServers with the vserver build template >>> function: >>> vserver <name> build --context <num> --hostname <name> >>> --interface <ip> \ -m template -- -t <tarball> -d debian >> If you have a tarball that is configured the way you like >> it, you shouldn't specify a distribution. That way, no post >> install script will be run, and you are responsible for >> running it before. >> Best regards, Daniel >>> The tarball contains an /etc/rc2.d directory with a few >>> services preinstalled. >>> vserver build uses the tarball leaving nothing but these two >>> files in /etc/rc2.d: >>> S01rsyslog -> ../init.d/rsyslog S03rc.local -> >>> ../init.d/rc.local >>> Why would vserver build clean up the runlevel and delete all >>> other links? While all the preinstalled scripts have runlevel >>> 2 set as "Default start" in the LSB header. >>> I couldn't find an option to change this and I >>> also didn't find something searching through >>> /usr/lib/util-vserver/vserver-build* >>> Any hints? >>> Best regards >>> Lars