Sean Lineen will become the Scottish Rugby Union's head of player acquisition after leaving his role as Glasgow head coach at the end of the season.
The SRU have confirmed weekend reports that Scotland assistant coach Gregor Townsend would replace Lineen at the end of the current campaign.
Lineen, who has been on Glasgow's coaching staff for nine years, will help recruit and develop players for Warriors and Edinburgh in his newly-created role, and will also coach Scotland Under-20s.
Lineen will work closely with Graham Lowe, Scottish Rugby's director of performance rugby, and the coaching teams at both clubs.
Lineen told the club's official website: "This decision was not taken lightly, but after nine fantastic years at Glasgow, I feel it's the right time for a new voice to take the team forward.
"I was lucky enough to be given an opportunity nine years ago and now Gregor has that opportunity. Knowing him well, I am sure he will do everything he can to take the team forward.
"A new opportunity has arisen which I am very excited about. I am very passionate about Scottish rugby and, having been involved in the professional arena both with Scotland and with Glasgow Warriors for nearly a decade, I know it's a continual challenge to stay at the top table.
"The challenge of identifying and developing talent to take Scottish rugby forward is one that massively appeals to me. Having seen how players like Richie Gray, Duncan Weir and Stuart Hogg have exploded on to the scene from the Warriors gives myself and the other coaches and staff at the club a great deal of satisfaction and pride as this is a major part of our job.
"I leave Glasgow Warriors with a heavy heart as it has been a big part of my life, but know that the squad put together for next season is the strongest yet and I am handing over the reins with the club in a very healthy state.
"I would like to thank all the players and staff who have made my job so enjoyable over the years. There have been many highs and I am proud of what we have achieved both on and off the field."