domain seed aus site_code generieren lassen

This commit is contained in:
Daniel Frank 2018-04-06 20:44:33 +02:00
parent c4c8ed4596
commit 1af0a7fa5f

View file

@ -2,6 +2,7 @@
hostname_prefix = 'GibMirEinenNamen', hostname_prefix = 'GibMirEinenNamen',
site_name = '<%= site_name %>', site_name = '<%= site_name %>',
site_code = '<%= site_code %>', site_code = '<%= site_code %>',
domain_seed = '<%= (site_code + ("Hamburg" * 7))[0..31].each_byte.map { |b| b.to_s(16) }.join.upcase %>',
opkg = { opkg = {
lede = 'http://lede.opkg.services.ffhh/snapshots/packages/%A', lede = 'http://lede.opkg.services.ffhh/snapshots/packages/%A',