generate-configuration: save state