sudo sed -e 's|^mirrorlist=|#mirrorlist=|g' \
-e 's|^#baseurl=http://mirror.centos.org/$contentdir/$releasever|baseurl=https://mirrors.163.com/centos/8|g' \
-i.bak \
/etc/yum.repos.d/CentOS-Base.repo \
/etc/yum.repos.d/CentOS-Extras.repo \
/etc/yum.repos.d/CentOS-AppStream.repo
nmcli connection show
NAME UUID TYPE DEVICE
virbr0 4e02750f-13d9-4662-bfc2-10f9ae1a71bd bridge virbr0
Wired connection 1 09066de3-7eb7-4ee1-9059-c651b6dff7a6 802-3-ethernet --
enp0s3 5144084b-0537-4e4b-9f15-065431bc6d38 802-3-ethernet --