Fix automatic upgrade after fetching response file with dhcp.
authorbluhm <bluhm@openbsd.org>
Tue, 24 Aug 2021 21:50:09 +0000 (21:50 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 24 Aug 2021 21:50:09 +0000 (21:50 +0000)
commit8dce61490a8e32f4fc09942fdca3a5759baaf41c
treedde247d992e6b69c41f3fb9d33b518dded422518
parentd8feb385f8099afa79ecc3a17b3ea54a3a575e07
Fix automatic upgrade after fetching response file with dhcp.

When the auto upgrader tried to fetch the sets, sometimes ftp did
not find any.  The interface was down and had no address.  As
autoconf was not cleared, the upgrade's static netstart and dhcpleased
both tried to configure the interface, which cannot work.

Disable dhcp with "ifconfig inet -autoconf" in get_responsefile()
after it is not used anymore.

OK florian@
distrib/miniroot/install.sub