How do I add kmod-forcedeth to Atomic

Issues related to configuring your network
Post Reply
granroth
Posts: 4
Joined: 2013/01/23 01:38:58

How do I add kmod-forcedeth to Atomic

Post by granroth » 2017/05/23 21:20:53

(Is there an Atomic Host specific forum I should be asking this?)

I've just installed Atomic host (http://cloud.centos.org/centos/7/atomic ... taller.iso) without a valid network driver, which, I believe is provided by http://elrepo.org/linux/elrepo/el7/x86_ ... x86_64.rpm.

What is the correct way to install this?

I've determined that "atomic host install" won't work without a functioning network connection, and "atomic host unlock" followed by "rpm -Ivh" doesn't save the kernel modules or doesn't save them in the right place.

Thanks.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: How do I add kmod-forcedeth to Atomic

Post by aks » 2017/05/24 16:50:00

It's kinda designed for more modern hardware, but I guess this might work:
# rpm-ostree pkg-add epel-release
# reboot
# rpm-ostree pkg-add kmod-forcedeth

It kinds depends on kernel interfaces used and so on. Worth a go I guess.

granroth
Posts: 4
Joined: 2013/01/23 01:38:58

Re: How do I add kmod-forcedeth to Atomic

Post by granroth » 2017/05/25 02:26:13

Thanks. I'm suspicious that the whole "immutable" nature of Atomic may make it a poor choice for a collection of heterogeneous bare metal. I'll try it again some time, but for now I've fallen back to regular CentOS 7 and the native kubernetes.

Oh, and for anyone finding this: Note that adding a repository and loading the kernel mods doesn't work without a working network. ;) Hopefully getting the RPM on a USB stick or similar should work with a minor variation to the provided trial solution.

Post Reply