From: "Антон Мидюков" <antohami@basealt.ru> To: make-initrd@lists.altlinux.org Subject: [make-initrd] Добавить udev правило в initrd через initrd.mk Date: Thu, 23 Sep 2021 20:37:08 +0700 Message-ID: <0449f9ee-3752-0972-a40d-5f3f50f5e6e9@basealt.ru> (raw) Здравствуйте Подскажите, что нужно прописать в initrd.mk, чтобы добавить udev правило в initrd? Хочу ради эксперимента добавить /lib/udev/rules.d/80-net-setup-link.rules. Кажется, именно оно отвечает за то, что сетевые интерфейсы переименовываются в в enp0s8 подобные названия. Обнаружил, что сетевой интерфейс включенный в initrd остаётся с именем eth0 при сетевой установке. Что приводит к тому, что в инсталяторе настраиваем eth0, а в установленной системе имеем его с именем enp0s8 подобным без конфигурации. Так что к установленной системе по сети после установки уже можно и не подключиться (сетевой интерфейс подключен один). Соответственно, появилась мысль, что нужно отработать в initrd udev-правило переименования интерфейса. -- С уважением, Антон Мидюков <antohami@basealt.ru>
next reply other threads:[~2021-09-23 13:37 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-23 13:37 Антон Мидюков [this message] 2021-09-23 14:05 ` Alexey Gladkov 2021-09-23 14:20 ` Антон Мидюков 2021-09-23 14:36 ` Alexey Gladkov 2021-09-27 15:38 ` Антон Мидюков 2021-09-27 15:59 ` Alexey Gladkov 2021-09-27 18:54 ` Leonid Krivoshein 2021-09-29 4:18 ` Антон Мидюков 2021-09-27 18:25 ` Leonid Krivoshein 2021-09-23 16:12 ` Антон Мидюков 2021-09-23 19:13 ` Alexey Gladkov 2021-09-24 4:22 ` Антон Мидюков 2021-09-24 5:37 ` Антон Мидюков 2021-09-24 9:53 ` Alexey Gladkov 2021-09-24 9:57 ` Антон Мидюков 2021-09-24 9:58 ` Alexey Gladkov 2021-09-24 13:17 ` Leonid Krivoshein 2021-09-24 13:52 ` [make-initrd] has_feature() и initrd_release() Leonid Krivoshein 2021-09-24 14:31 ` Alexey Gladkov 2021-09-24 14:56 ` Leonid Krivoshein 2021-09-24 14:29 ` [make-initrd] Добавить udev правило в initrd через initrd.mk Alexey Gladkov 2021-09-24 14:54 ` Leonid Krivoshein 2021-09-23 14:43 ` Arseny Maslennikov 2021-09-23 15:22 ` Alexey Gladkov 2021-09-23 15:39 ` [make-initrd] udev network interface renaming policy Arseny Maslennikov 2021-09-23 19:05 ` Alexey Gladkov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=0449f9ee-3752-0972-a40d-5f3f50f5e6e9@basealt.ru \ --to=antohami@basealt.ru \ --cc=make-initrd@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Make-initrd development discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \ make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com public-inbox-index make-initrd Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.make-initrd AGPL code for this site: git clone https://public-inbox.org/public-inbox.git