Closed XenGi closed 4 years ago
Found what I was looking for. I did that in a CentOS8 VM:
mkdir /tmp/root
cat /etc/yum.repos.d/CentOS-{Base,AppStream,Extras}.repo > /tmp/centos.repo
dnf -c /tmp/centos.repo --disablerepo=* --enablerepo=AppStream --enablerepo=BaseOS --enablerepo=extras --disableplugin=* --installroot=/tmp/root --releasever=8 install centos-release basesystem
Trying to run this in a centos8 container because I have no centos installation in place. Gives me a strange error:
Even when I try it "the hard way" I can't figure out why it doesn't mount loopback devices. Doesn't even work with a privileged container. I'm now testing it in a VM but no luck in there either:
I just need the equivalent of: