From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Christoph Pleger
<Christoph.Pleger-ogaGWlaKng3jEoi5djuKH7NAH6kLmebB@public.gmane.org>,
initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: IP configuration with dhcp
Date: Thu, 2 Jul 2015 15:25:51 +0200 [thread overview]
Message-ID: <55953BDF.9090503@redhat.com> (raw)
In-Reply-To: <a82892e788a77d505b9b4bedd690e480.squirrel-T/cYq+cjerqiBoZaVoqeDeMSiLl2O4ofs0AfqQuZ5sE@public.gmane.org>
On 02.07.2015 11:08, Christoph Pleger wrote:
> Hello,
>
> I want to create a Debian Live DVD, with dracut as initrd tool. That is, I
> already had the Live system running successfully, but IP configuration had
> to be entered manually after boot from DVD. The grub menuitem for that
> contains the following line to define the kernel and its parameters:
>
> linux /vmlinuz root=/dev/cdrom ro aufs
>
> Then, I had the idea to add an option for automatic IP configuration by
> DHCP. I expected it to work by adding a new grub menuitem with the
> following line for the kernel:
>
> linux /vmlinuz root=/dev/cdrom ip=dhcp ro aufs
>
> But that does not work, no configuration is set for eth0. But if the
> chroot-Directory I created the DVD from is taken as NFSROOT and the
> computer is booted by PXE, with the following in pxelinux.cfg/default
>
> DEFAULT vmlinuz initrd=initrd.img root=dhcp ip=dhcp ro aufs
>
> then eth0 gets its configuration from DHCP.
>
> So, does dracut only support automatic IP configuration by DHCP if
> "root=dhcp" is set, or is there something I can change in the kernel
> parameters to make automatic IP configuration work when booting from DVD?
>
> Regards
> Christoph
>
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
try "ip=dhcp rd.neednet=1"
next prev parent reply other threads:[~2015-07-02 13:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-02 9:08 IP configuration with dhcp Christoph Pleger
[not found] ` <a82892e788a77d505b9b4bedd690e480.squirrel-T/cYq+cjerqiBoZaVoqeDeMSiLl2O4ofs0AfqQuZ5sE@public.gmane.org>
2015-07-02 13:25 ` Harald Hoyer [this message]
[not found] ` <55953BDF.9090503-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-02 13:26 ` Harald Hoyer
2015-07-02 13:48 ` Christoph Pleger
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=55953BDF.9090503@redhat.com \
--to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=Christoph.Pleger-ogaGWlaKng3jEoi5djuKH7NAH6kLmebB@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.