Skip to content

Preconfigured Images

Tom Herbers edited this page Jan 3, 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 for new nodes.

This can be easily done by a few site changes.

Some helpfull settings are:

Skip Setup Mode

setup_mode = {
	skip = true,
},

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

Default Domain

default_domain = 'xy_not_your_default',

SSH Keys

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

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

Clone this wiki locally