Andy Robinson resigned his role on Sunday following the 21-15 loss to Tonga, Scotland's 10th defeat in 13 matches, a run which includes the World Cup exit and a RBS 6 Nations whitewash.
Townsend was assistant to Robinson, as attack coach, until the end of the Six Nations, before he was this summer appointed Glasgow head coach in place of Sean Lineen.
Townsend, who won 82 caps, told BBC Scotland: "My focus is firmly on Glasgow Warriors. I know I have a lot of work to do to improve as a coach.
"I'm enjoying this opportunity and I'll give it as much as I can to make the team successful.
"I spoke to Andy on Sunday and he is comfortable with his decision and keen to get back into coaching.
"I worked with him for three years and learned so much from him.
"He's a fantastic coach and I know he put everything into the job with Scotland."
Following three years as Scotland attack coach, Townsend, who was initially appointed by Frank Hadden, was replaced by Scott Johnson, who could succeed Robinson as head coach, perhaps on an interim basis.
Johnson was part of the coaching team on the successful June tour, which featured wins in Australia, Fiji and Samoa, before Scotland lost to New Zealand, South Africa and Tonga in successive weeks this month.
Robinson departed maintaining Scotland have plenty of potential and Townsend concurs.
"It's disappointing that we were not able to kick on from the summer tour, but we are not far away," Townsend added.
"We have some very good rugby players, but we have not been able to produce an 80-minute performance this autumn.
"We've been close to getting it right for a while. I was involved at the World Cup and we had two defeats in the last two or three minutes of games, against Argentina and England.
"We've been competitive, but we've not had the run of results the team is capable of.
"Whoever takes over will inherit a hard-working bunch of players that are desperate for success."
Gilbert has released a new line of rugby cleats. The Gilbert Virtuo 8S is part of the exciting new product. Check it out.
The entire All Blacks apparel line has been updated for 2013/14. Check out the New Zealand All Blacks polo.
The Nike Tiempo is a solid rugby cleat and one of few styles still made from full-grain natural leather.
The Gilbert Blitz 8S rugby cleat is a great cleat at a great price of $69.99. Get a new pair of cleats today.
A cool looking all black rugby cleat with the high performance adidas is known for. Get in the Gear!
Wear the crest of the British and Irish Lions on your t-shirt. A great look for the summer.
$29.99
The All Blacks Performance t-shirt is black with hints of blue from the training jersey. Very Cool.
The New Zealand All Blacks training jersey for 2013/14. Get in the Gear!
The USA Rugby Pro Alternate rugby jersey is perfect for any fan of the Eagles. Get yours to wear during the summer Test matches.
The NEW All Blacks 2013/14 jersey has arrived at World Rugby Shop. Dare to wear the colors of the All Blacks.