From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: [make-initrd] Network-Manager (was: Re: CLB 2)
Date: Tue, 30 Apr 2019 21:21:20 +0200
Message-ID: <20190430192120.GG9023@dhcp129-178.brq.redhat.com> (raw)
In-Reply-To: <a4578b3e-8f09-b869-2b3b-8cc6fd44d693@complife.ru>
On Tue, Apr 30, 2019 at 03:04:12PM +0200, Michael A. Kangin wrote:
> > Да, даже в пропагаторе убирали похожий баг. stage2 поднимает сеть с
> > чистого листа. Фича network должна уметь перед переходом в stage2
> > опускать всё ранее поднятое. Но тогда как быть с сетевой загрузкой? Либо
> > stage2 должен быть заточен под такой stage1, либо мы сначала выкачиваем
> > из сети всё необходимое, потом опускаем сеть и тогда уже переходим в
> > stage2.
>
> При кешировании образов в памяти - никаких проблем, опускаем сеть и
> пусть stage2 само разбирается.
>
> А вот без кеширования, с NFS это может быть действительно интересно.
> Возможно, из initrd стоит сгенерировать неких конфигов и подложить в
> rootfs для stage2. Проблема в том, что мы не можем быть уверенными, чем
> именно stage2 пользуется - etcnet, NM, systemd-networkd, whatever...
Так может мне не париться и сразу использовать NM в initrd ?
Я сделал фичу network поскольку не хотел писать конфигуратор сети. Мне
нужна была замена ipconfig.
FYI nm-initrd-generator(8)
--
Rgrds, legion
next prev parent reply other threads:[~2019-04-30 19:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-29 23:34 [make-initrd] CLB 2 Michael A. Kangin
2019-04-30 12:35 ` Leonid Krivoshein
2019-04-30 13:04 ` Michael A. Kangin
2019-04-30 19:21 ` Alexey Gladkov [this message]
2019-04-30 22:31 ` [make-initrd] Network-Manager Leonid Krivoshein
2019-05-01 14:32 ` Michael A. Kangin
2019-04-30 12:48 ` [make-initrd] CLB 2 Leonid Krivoshein
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=20190430192120.GG9023@dhcp129-178.brq.redhat.com \
--to=gladkov.alexey@gmail.com \
--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