Clean up NFV OpenvSwitch repo for container build
NFV repo is supposed to be installed using system packages, as it should also contain nfvsigdist variable for yum. So avoid issue with yum update at this step we drop the repo that was copied from host. As alternative approach, we can drop copying yum.repos.d at all, but this can lead to an unexpected results. Change-Id: Ia5041c7d855a9e988afc4c2a0d16fdeb6a9c357f
This commit is contained in:
parent
4d4517f2af
commit
3928a0b914
@ -11,6 +11,8 @@ fi
|
||||
|
||||
# The containers do not need the LXC repository (only hosts need it).
|
||||
rm -f /etc/yum.repos.d/thm-lxc3.0*
|
||||
# This repo should be installed from package, so requires extra vars to work properly
|
||||
rm -f /etc/yum.repos.d/CentOS-NFV-OpenvSwitch.repo
|
||||
|
||||
# Create dnf transaction file and run it all at once
|
||||
echo "update" > /tmp/package-transaction.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user