[PATCH 5/7] discover/platform-powerpc: Add NVRAM parameter for IPv6

Jeremy Kerr jk at ozlabs.org
Mon May 14 11:56:05 AEST 2018


Hi Sam,

> Add a new NVRAM parameter to signal which address scheme should be used.
> This is kept separate from petitboot,network to maintain some backwards
> compatibility for IPv4 configurations.

I'm not 100% convinced we need this to be explicitly set.

For specifying petitboot's own network settings, could we not detect
this at interface-configuration time, based on the format of the
addresses in the petitboot,network parameter? When doing DHCP, we could
start both v4 and v6 discovery.

And for detecting the v4/v6-iness of external URLs, that could just
depend on the format of the URLS (if they're explicit IPs, either v4 or
v6) or type of answer records we get back from DNS?

Cheers,


Jeremy


More information about the Petitboot mailing list