Make it easier to install more packages right away.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 31 Aug 2008 20:09:05 +0000 (20:09 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 31 Aug 2008 20:09:05 +0000 (20:09 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2780 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver-build.yum

index 128c0e4..23fe436 100644 (file)
@@ -75,6 +75,9 @@ rpm.importGPGPubKeys "$SETUP_CONFDIR" \
     "$__CONFDIR/.distributions/.common/pubkeys" \
     "$__DISTRIBDIR/$DISTRIBUTION/pubkeys"
 yum.installBasePackages "$SETUP_CONFDIR" "$PKGINSTALLDIR"
+
+test -z "$1" || $_VYUM "$SETUP_CONFDIR" -- -y install "$@"
+
 $_VYUM "$SETUP_CONFDIR" -- clean all
 
 if $_VSERVER_INFO - FEATURE persistent; then