This is great. I needed something like this for bootstrapping headless raspberry pis. I ended up rolling my own ad hoc provisioning script, and packaging it in a custom raspbian image. This seems like a great candidate for inclusion in a Pi distro.
Open wifi networks for configuration used to be a pretty good solution, but have become less useful since the advent of phones automatically failing over to their mobile connection if the local network can’t route traffic to the internet.