Correct way to customize system

Hello Valentin,
thank you for your reply, it was really useful for me.
What I was trying to achieve was more a minor configuration rather than a feature (for example: one of these was increase the SSH timeout) so I suppose I’m more in case [font=Courier][1][/font].

I looked into[font=Courier] /opt/vyatta/etc[/font] and, for what is my understanding, there I can also find some system files that will be used as template/replacement after the vyos boot.
What I’m still missing is the piece of code/configuration doing the coldfusion:

[font=Courier]final config[/font] = [[font=Courier]system base[/font]] + [[font=Courier]/opt/vyatta/etc files[/font]]

A concrete example: I was trying to avoid the SSH timeout (for diagnostic reason) and add into [font=Courier]/etc/ssh/sshd_config[/font] lines:

TCPKeepAlive yes ClientAliveInterval 30 ClientAliveCountMax 99999

how could I take advantage of dir [font=Courier] /opt/vyatta/etc[/font] to be vyos-compliant?
I would use the [font=Courier]vyatta-postconfig-bootup.script[/font] to add something like:

echo TCPKeepAlive yes >> /etc/ssh/sshd_config

but, of course, I would follow a more “clean” approach.

Thank you
Adriano