dom+vm: Copy dom0 yum.conf to UpdateVM

At least to use dom0 'exclude' options, not VM one. Especially to not exlude
kernel and xorg updates...
This commit is contained in:
Marek Marczykowski 2011-09-14 00:35:49 +02:00
parent 3b21e8a596
commit 715b7745dc
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ if ! [ -d "$DOM0_UPDATES_DIR" ]; then
fi
mkdir -p $DOM0_UPDATES_DIR/etc
cp /etc/yum.conf $DOM0_UPDATES_DIR/etc/
sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf
# check also for template updates
echo "Checking for template updates..." >&2

View File

@ -34,7 +34,7 @@ if ! [ -d "$DOM0_UPDATES_DIR" ]; then
fi
mkdir -p $DOM0_UPDATES_DIR/etc
cp /etc/yum.conf $DOM0_UPDATES_DIR/etc/
sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf
if [ "x$CLEAN" = "1" ]; then
yum $OPTS clean all