The problem with your assessment is here:
"Suddenly, there was an attack and all dissatisfaction with Likud and Netanyahu vanished."
Very much this is not the case. The removal of Netanyahu is a slow process but his lasting support primarily was based on his promise of domestic security for Israelis and that has obviously disappeared. Democracy is a slow process.
That the deal Hamas agreed to is a new version of the deal Israel hadnt yet seen.