Page MenuHomeFreeBSD

bsdinstall: record DHCP config after obtaining lease
ClosedPublic

Authored by emaste on Aug 10 2017, 8:18 PM.
Tags
None
Referenced Files
F146657589: D11967.id31897.diff
Wed, Mar 4, 11:48 AM
F146613632: D11967.id31897.diff
Wed, Mar 4, 2:55 AM
Unknown Object (File)
Sun, Mar 1, 9:20 PM
Unknown Object (File)
Sun, Feb 22, 5:31 AM
Unknown Object (File)
Thu, Feb 19, 7:50 PM
Unknown Object (File)
Sun, Feb 8, 11:42 PM
Unknown Object (File)
Sun, Feb 8, 9:01 AM
Unknown Object (File)
Sat, Feb 7, 11:12 PM
Subscribers
None

Details

Summary

Previously we added an ifconfig_$INTERFACE line to rc.conf for each unsuccessful DCHP attempt.

PR: 219515

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Aug 10 2017, 8:20 PM

This doesn't provide a clean way to request DHCP config for an interface without obtaining a lease during install, but this isn't a regression from current behaviour. Perhaps we can cnage the "DHCP lease acquisition failed" message to instead ask "configure DHCP anyway? Y/n" and do the exec $0 only if the user answers n.

This revision was automatically updated to reflect the committed changes.