diff --git a/bundles/lldp/files/bundlewrap.conf b/bundles/lldp/files/bundlewrap.conf index d0d7a9e..3cebe1d 100644 --- a/bundles/lldp/files/bundlewrap.conf +++ b/bundles/lldp/files/bundlewrap.conf @@ -6,5 +6,5 @@ # # --> Diese Datei wird von BundleWrap verwaltet! <-- -configure system hostname "${node.name}" +configure system hostname "${node.metadata.get('lldp', {}).get('hostname', node.name)}" configure system platform "${node.os}" diff --git a/nodes/rx300.py b/nodes/rx300.py index 7a809f7..2a01c8d 100644 --- a/nodes/rx300.py +++ b/nodes/rx300.py @@ -34,6 +34,9 @@ nodes['rx300'] = { 'backups': { 'exclude_from_backups': True, }, + 'lldp': { + 'hostname': 'rx300.kunbox.net', + }, 'zfs': { 'module_options': { 'zfs_arc_max_mb': 16384, # 16GB