From: Thierry Parmentelat Date: Fri, 19 Sep 2008 16:51:06 +0000 (+0000) Subject: for f9, missing file in the test vserver, causes postgresql init script to fail X-Git-Tag: 4.3-rc1~181 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=95aae5629410f778b080418d77381463bb228950;p=build.git for f9, missing file in the test vserver, causes postgresql init script to fail --- diff --git a/vbuild-init-vserver.sh b/vbuild-init-vserver.sh index 31514cb7..44083adf 100755 --- a/vbuild-init-vserver.sh +++ b/vbuild-init-vserver.sh @@ -296,6 +296,9 @@ function post_install_myplc () { # be careful to backslash $ in this, otherwise it's the root context that's going to do the evaluation cat << EOF | $personality vserver $VERBOSE $vserver exec bash -x + # create /etc/sysconfig/network if missing + [ -f /etc/sysconfig/network ] || echo NETWORKING=yes > /etc/sysconfig/network + # create symlink for /dev/fd [ ! -e "/dev/fd" ] && ln -s /proc/self/fd /dev/fd