Reading the wiki page about the installation of SNAP in console and unattended mode, I see that in unattended mode it is possible to use the -varfile option to configure the installation.
One way suggested to obtain the varfile is to install snap normally (or by console) and go into the .install4j folder of the installation directory looking for a response.varfile file.
I did the installation on Ubuntu 16.04, but into the installation directory there is no .install4j folder.
Should I look for it in another folder?
Regards,
Giulio