LoginSignup
0
0

More than 5 years have passed since last update.

CentOS7インストール時のネットワークインターフェース名変更

Posted at

歴史

ネットワークインターフェース名と言えばeth1,eth2などを思い浮かべるはずだ。
しかし、CentOS7から仕様が変わり、enp0s3,enp2s0f0といった分かりにくいものになってしまった。

昔の仕様に戻したい

調べてみると/etc/default/grubを修正すると旧仕様に戻るようだ。
うーん、できることならファイル修正は極力したくない、OSインストール時に設定したい・・・
という人向けの手順を展開します。

手順

①インストールの初回画面
01.png

②[tab]押下
02.png

③以下のコマンドを追記して[Enter]押下
net.ifnames=0 biosdevname=0
05.png

おわり。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0