Two Ayrshire prisoners have coronavirus and school exams will not go ahead this year.
Pupils will be accredited using other material as the basis of certification.
At the end of tomorrow schools will close.
The majority of children will receive distance learning to replace face-to-face but Education secretary John Swinney said vulnerable children and those whose parents are key workers will have provision supplied by local authorities.
There are now 12 cases of patients with COVID-19 in Ayrshire and Arran.
Two people have tested positive for COVID-19 in HMP Kilmarnock.
Humza Yousaf, justice minister, said: "SPS are working with Health Protection Scotland and NHS to ensure appropriate care.
He said the prisoners do not curretnly require hospital treatment and the priority is the safety of staff and those in the care of the justic system.
Mr Yousaf said SPS is well prepared for the situation, with a plan in place for the pandemic.
He said: "Where possible, we want prisoners to be able to maintain family contact, clearly we will be guided by public health advice."
Scotland's coronavirus death toll has doubled in 24 hours.
Six people who contracted COVID-19 have now died, three more than yesterday.
At First Minister's Questions, Mrs Sturgeon said a total of 266 patients have coronavirus across the country, up from 227 yesterday.
The First Minister said: “This is not a drill, this is real.
“I don’t want to scare people.
“We are urging people to follow this advice for the sake of their loved ones.
“This is advice that should not be seen as optional, this is about saving lives.”
NHS Ayrshire and Arran has updated its visiting times allowing for only one person per patient and no children under 12 years, with access only between 3pm to 4pm and 7pm to 8pm.
For official information about coronavirus visit NHS Scotland's page here.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereComments are closed on this article