[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

"ip" parameter in live-boot



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The man page of live-boot-doc (3.0~a38-1) mentions that:
=============================
 
ip=[DEVICE]:[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[AUTOCONF]
    
[,[DEVICE]:[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[AUTOCONF]]
     Let you specify the name(s) and the options of the interface(s)
that should be configured at boot time. Do
     not specify this if you want to use dhcp (default). It will be
changed in a future release to mimick offi‐
     cial kernel boot param specification (e.g.
ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
=============================

However, in scripts/boot/9990-netbase.sh, it reads:
                        ifname="$(echo ${ifline} | cut -f1 -d ':')"
                        ifaddress="$(echo ${ifline} | cut -f2 -d ':')"
                        ifnetmask="$(echo ${ifline} | cut -f3 -d ':')"
                        ifgateway="$(echo ${ifline} | cut -f4 -d ':')"

It looks they are not consistent. I believe the man page should mention
like:
ip=[DEVICE]:[CLIENT_IP]:[NETMASK]:[GATEWAY_IP]
[,[DEVICE]:[CLIENT_IP]:[NETMASK]:[GATEWAY_IP]]
Let you specify the name(s) and the options of the interface(s) that
should be configured at boot time. Do
     not specify this if you want to use dhcp (default). It will be
changed in a future release to mimick offi‐
     cial kernel boot param specification (e.g.
ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).

Or maybe I missed something?

Steven.

- -- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAWiXIACgkQCLPj15didVr46gCeMNP54mdBihO5UtiOOWrNy313
hvUAnizjW/nzdtoxSkqQ55kK751W4tZ4
=uwJ/
-----END PGP SIGNATURE-----


Reply to: