3 if [ ! -f $target/etc
/resolv.conf
]; then
4 cp /etc
/resolv.conf
$target/etc
7 if [ X
$verbose = X1
]; then
9 $ROOTCMD yum
-y update |
& tee -a $LOGDIR/software.log
11 $ROOTCMD yum
-y update
>> $LOGDIR/software.log
14 $ROOTCMD systemd-machine-id-setup
16 cat > $target/etc
/sysconfig
/kernel
<<EOF
17 # UPDATEDEFAULT specifies if new-kernel-pkg should make
18 # new kernels the default
21 # DEFAULTKERNEL specifies the default kernel package type
22 DEFAULTKERNEL=kernel-core