shiftstack / dev-install

13 stars 16 forks source link

prepare_host: fix inconsistent nic naming on RHEL 9 #218

Closed EmilienM closed 1 year ago

EmilienM commented 1 year ago

Sometimes the net.ifnames=0 is the last item in the default grub arguments so the grep that was setup initially wouldn't match.

Let's just match net.ifnames=0 and remove it.