Page MenuHomeFreeBSD

bsdinstall: record DHCP config after obtaining lease
ClosedPublic

Authored by emaste on Aug 10 2017, 8:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 23, 8:24 PM
Unknown Object (File)
Fri, May 17, 12:50 PM
Unknown Object (File)
Apr 17 2024, 1:31 AM
Unknown Object (File)
Apr 3 2024, 12:34 AM
Unknown Object (File)
Mar 17 2024, 12:04 AM
Unknown Object (File)
Feb 28 2024, 5:36 AM
Unknown Object (File)
Jan 15 2024, 3:08 AM
Unknown Object (File)
Jan 11 2024, 9:15 AM
Subscribers
None

Details

Summary

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

PR: 219515

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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.