git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore case when gathering modules.list
[build.git]
/
vbuild-init-vserver.sh
diff --git
a/vbuild-init-vserver.sh
b/vbuild-init-vserver.sh
index
f7092e4
..
843ebe9
100755
(executable)
--- a/
vbuild-init-vserver.sh
+++ b/
vbuild-init-vserver.sh
@@
-1,6
+1,5
@@
#!/bin/bash
# -*-shell-*-
#!/bin/bash
# -*-shell-*-
-# $Id$
#shopt -s huponexit
#shopt -s huponexit
@@
-176,7
+175,12
@@
function setup_vserver () {
# Set persistent for the network context
echo persistent,lback_allow > /etc/vservers/$vserver/nflags
# Set persistent for the network context
echo persistent,lback_allow > /etc/vservers/$vserver/nflags
-
+
+ # Set the init style of your vserver to plain for f13
+ case $fcdistro in
+ f13|f14) echo plain > /etc/vservers/$vserver/apps/init/style ;;
+ esac
+
if [ "$pkg_method" = "yum" ] ; then
$personality vyum $vserver -- -y install yum
# ditto
if [ "$pkg_method" = "yum" ] ; then
$personality vyum $vserver -- -y install yum
# ditto