[3.15] setup-alpine in headless situation altered by network restart
@ncopa Since Alpine 3.15, the following change 39c91c14, which unconditionally forces network interfaces restart during setup-alpine
, breaks ability to configure Alpine in headless situation (like under pre-existing ssh session), as the session gets disconnected within setup-alpine script execution...
How about making such networking restart conditional with a setup-alpine parameter, or include a sanity-check to prevent it if ongoing network communication is already active, or ask user for explicit confirmation for restarting interfaces in interactive mode?
Thanks for consideration.
EDIT: maybe sth similar might be needed to avoid ssh install collision with pre-existing headless session too...