From 1af0a7fa5fc6c6141547345490b4566f003e3814 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Fri, 6 Apr 2018 20:44:33 +0200 Subject: [PATCH] domain seed aus site_code generieren lassen --- template/site.conf.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/template/site.conf.erb b/template/site.conf.erb index 05f9ccd..1e5ac63 100644 --- a/template/site.conf.erb +++ b/template/site.conf.erb @@ -2,6 +2,7 @@ hostname_prefix = 'GibMirEinenNamen', site_name = '<%= site_name %>', site_code = '<%= site_code %>', + domain_seed = '<%= (site_code + ("Hamburg" * 7))[0..31].each_byte.map { |b| b.to_s(16) }.join.upcase %>', opkg = { lede = 'http://lede.opkg.services.ffhh/snapshots/packages/%A',