From: Alex Moskalenko <mav@elserv.ru> To: make-initrd@lists.altlinux.org Subject: [make-initrd] Инициализация сети в make-initrd 2.9.0 Date: Thu, 10 Sep 2020 11:07:14 +0300 Message-ID: <20200910110714.68e3b3db@elserv.ru> (raw) Здравствуйте! Не могу понять, как инициализировать сеть в make-initrd 2.9.0 со включенной feature network? По файлу readme.md добавил к параметрам загрузки ядра строку "ip=10.0.0.100::10.0.0.1:255.255.255.0:server.domain.local:eth0:static:10.0.0.1" При загрузке системы поднимается только интерфейс lo, конфигурация которого скопировалась в образ из /usr/share/make-initrd/features/network/data/etc/network/ifaces. Конфигурация eth0 из ситемного /etc/net в образ не попадает. Интерфейс eth0 присутствует, но не сконфигурирован и в состоянии DOWN. При ручном копировании каталога /etc/net/ifaces/eth0 в /usr/share/make-initrd/features/network/data/etc/network/ifaces и пересоздании образа интерфейс eth0 поднимается и конфигурируется корректно. Как правильно задать конфигурацию интерфейса для его автоматического поднятия в make-initrd?
next reply other threads:[~2020-09-10 8:07 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-10 8:07 Alex Moskalenko [this message] 2020-09-10 15:41 ` 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=20200910110714.68e3b3db@elserv.ru \ --to=mav@elserv.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