test: Need to add -y
flags to (dnf|yum) update
Without this, the containers will hang if an update is available.
This commit is contained in:
parent
90e8a54e3a
commit
97e744ad96
@ -16,9 +16,9 @@ if command -v apt >/dev/null; then
|
||||
KERNELS=$(find /usr/src -maxdepth 1 -type d -name 'linux-headers-*' -not -name '*common*')
|
||||
else
|
||||
if command -v dnf > /dev/null ; then
|
||||
dnf update kernel-devel
|
||||
dnf update -y dnf kernel-devel
|
||||
else
|
||||
yum update kernel-devel
|
||||
yum update -y kernel-devel
|
||||
fi
|
||||
KERNELS=$(find /usr/src/kernels -maxdepth 1 -type d -regextype sed -regex '.*[.]\(el\|fc\).*')
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user