import the Rocky Linux GPG key manually
This commit is contained in:
parent
edac37608b
commit
d6003ef0f7
@ -4,6 +4,9 @@ set -x
|
|||||||
MACHINE_ARCH="$(uname -m)"
|
MACHINE_ARCH="$(uname -m)"
|
||||||
DNF_RELEASEVER="$(dnf config-manager --dump-variables | grep 'releasever' | awk '{print $3}')"
|
DNF_RELEASEVER="$(dnf config-manager --dump-variables | grep 'releasever' | awk '{print $3}')"
|
||||||
|
|
||||||
|
# import the key manually, since it does not get automatically get imported...
|
||||||
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
|
||||||
|
|
||||||
# Setup networking temporarily
|
# Setup networking temporarily
|
||||||
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user