Skip to content

Preconfigured Images

Tom Herbers edited this page Feb 14, 2024 · 6 revisions

If you want to install a larger amount of Nodes you might want to build a special image that doesn't use your usual settings.

This can be easily done by a few site changes.

Some helpful settings are:

Skip Setup Mode

setup_mode = {
	skip = true,
},

Default Domain

default_domain = 'xy_not_your_default',

Default Network Interface Roles

interfaces = {
	lan = {
		default_roles = { 'client', 'mesh' },
	},
	wan = {
		default_roles = { 'uplink', 'mesh' },
	},
	single = {
		default_roles = { 'uplink', 'mesh' },
	},
},	

More Infos: https://gluon.readthedocs.io/en/latest/user/site.html#user-site-interfaces

SSH Keys

authorized_keys = {
	'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFvRIi94EdrmgmrdZE5LA8UO/ZAFpkZ1mj6Vuo1VEh8F example key',
},

For this to work you need to add the authorized-keys feature.

Another option to manage ssh keys is the ffda-ssh-manager.

VPN on

Keep in mind with this that this will only enable the VPN functionality but won't register the node if that's required for your community.

mesh_vpn = {
	enabled = true;
}
Clone this wiki locally