iankelling.org
/
git
/
automated-distro-installer
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dns updates
[automated-distro-installer]
/
fai
/
config
/
hooks
/
updatebase.CENTOS
1
#! /bin/bash
2
3
if
[ !
-f
$target
/
etc
/
resolv.conf
];
then
4
cp
/
etc
/
resolv.conf
$target
/
etc
5
fi
6
7
if
[
X
$verbose
=
X1
];
then
8
echo
"Updating base"
9
$ROOTCMD
yum
-y
update |
&
tee
-a
$LOGDIR
/
software.log
10
else
11
$ROOTCMD
yum
-y
update
>>
$LOGDIR
/
software.log
12
fi
13
14
skiptask updatebase