[Fai-commit] r6342 - trunk/examples/simple/hooks

Michael Goetze mgoetze-guest at alioth.debian.org
Thu Apr 14 15:49:30 UTC 2011


Author: mgoetze-guest
Date: 2011-04-14 15:49:29 +0000 (Thu, 14 Apr 2011)
New Revision: 6342

Modified:
   trunk/examples/simple/hooks/updatebase.CENTOS
Log:
hooks/updatebase.CENTOS =~ s/yum/yum -y/

Modified: trunk/examples/simple/hooks/updatebase.CENTOS
===================================================================
--- trunk/examples/simple/hooks/updatebase.CENTOS	2011-04-14 15:34:49 UTC (rev 6341)
+++ trunk/examples/simple/hooks/updatebase.CENTOS	2011-04-14 15:49:29 UTC (rev 6342)
@@ -2,9 +2,9 @@
 
 if [ "$verbose" ]; then
 	echo "Updating base"
-	$ROOTCMD yum update 2>&1 | tee -a $LOGDIR/software.log
+	$ROOTCMD yum -y update 2>&1 | tee -a $LOGDIR/software.log
 else
-	$ROOTCMD yum update >> $LOGDIR/software.log
+	$ROOTCMD yum -y update >> $LOGDIR/software.log
 fi
 
 skiptask updatebase




More information about the Fai-commit mailing list