#! /bin/bash if [ ! -f $target/etc/resolv.conf ]; then cp /etc/resolv.conf $target/etc fi if [ "$verbose" ]; then echo "Updating base" $ROOTCMD yum -y update 2>&1 | tee -a $LOGDIR/software.log else $ROOTCMD yum -y update >> $LOGDIR/software.log fi skiptask updatebase