There is a Royal Auxiliary Air Force unit (603 City of Edinburgh Sqn) located in Edinburgh - unfortunately the town house which is its HQ has no accommodation.
The former RAF Turnhouse is still crumbling away on prime development land next to Edinburgh Airport.