How about the civilians? Civilians have a legitimate need to move, not in the least is food and water. They are not going to starve or die of thirst just so you can have your cheap, clean, technical solution.
You'll have to keep them supplied. Think about the cost of deploying 8000 tanks to a country, now we're talking about 8000 bases.
I think, just set up long range MLRS (100 Km and above). stations around the country, defended by mobile armoured units. Each station can cover a wide area and each other, and can be redeployed if necessary. Layer each station with gun battery for closer and less expensive option, and AFV just in case. Have UAV surveillance for detecting approaching enemies and smart GPS guided munitions for the MLRS. Get more powerful mobile units to herd them into designated kill zones.
Those are good questions,
Civilians will be subjected to a curfew / martial-law. They will only be allowed to transit along major roads until the economy picks up and the reasons to extremism dies down. The fortresses are now setup to be reactionary to rockets being discharged, guns being fired etc. it might be exploited but, the intent of the fortresses is the ability to lock down and prevent movement when things happen.
The 8000 bases are hypothetically automated to 120-240 days, each around the size of 2 or 3 units of 40 foot container. The sensor suite is a passive one, and draws low power from a UPS array or solar cells. a pair of generator (duty/standby) kicks in when the UPS is low power or threat are detected and there would be maybe ~4000 usgal of fuel store.
Armament would be, 2X 140-160mm mortar and 4X 17mm heavy machine guns; around 300 rounds of mortar shells and 20,000 rounds of HMG and a minefield around itself - like claymores.
The intent of the fortress is to react to insurgents, and it doesn't need to be able to hold it's own against siege as it would be under covering fire from the neighboring fortresses and the UAV patrolling above. Thus munition expenditure would be fairly low.
A fuel truck / munition carrier will resupply once the ammunition runs low or if fuel is low and or maintenance is required. In which time, the fuel truck would be hard to ambush as no matter where it drives, it will be under the covering fire of the fortresses and the UAV.
Fuel will be from the local refinery, munition could be shipped from China or produced locally.
This is a proof of concept, not a finalized solution obviously. the fortress could be expanded to be MLRS then you need less of them, but they cost more, A mortar shell maybe 100 USD to produce, an MLRS would be 100X that. So it is a fine balance