all configuration management languages do this and have forums where people share their code so that you copy/paste and then tweak them to your own needs. ansible galaxy comes to mind.
if you want pure linux, there's also kickstart or preseed.
all configuration management languages do this and have forums where people share their code so that you copy/paste and then tweak them to your own needs. ansible galaxy comes to mind.
if you want pure linux, there's also kickstart or preseed.