I found this code to automatically create a page when a new site is created in the network. But I cannot figure out how to set which page template to be used when the page is created. I have a custom page template made which I want to use on the page that is automatically created.
I found this post explaining how to automatically create a page when a new site is made. But what about page template: https://wordpress.stackexchange.com/a/28620/143279