From 751a7c1ded730907aaed83f094fce62607eecc34 Mon Sep 17 00:00:00 2001 From: Lord Anton Hvornum Date: Thu, 12 Apr 2018 22:27:47 +0200 Subject: Added loading in the powerdns tables --- deployments/08:00:27:6f:0c:25.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deployments/08:00:27:6f:0c:25.json b/deployments/08:00:27:6f:0c:25.json index 326673a1..badb64a1 100644 --- a/deployments/08:00:27:6f:0c:25.json +++ b/deployments/08:00:27:6f:0c:25.json @@ -13,7 +13,11 @@ "systemctl start postgresql" : null }, "Setup DNS": { - "sh -c \"echo -n -e 'launch=gpgsql\ngpgsql-host=127.0.0.1\ngpgsql-user=pdns\ngpgsql-dbname=pdns\ngpgsql-password={PIN}' >> /etc/powerdns/pdns.conf\"" : null + "sh -c \"echo -n -e 'launch=gpgsql\ngpgsql-host=127.0.0.1\ngpgsql-user=pdns\ngpgsql-dbname=pdns\ngpgsql-password={PIN}' >> /etc/powerdns/pdns.conf\"" : null, + "psql -U pdns -d pdns -a -f /usr/share/doc/powerdns/schema.pgsql.sql" : null + }, + "Install DNS Entries": { + }, "Setup autostarts": { "systemctl enable dhcpcd" : null, -- cgit v1.2.3-70-g09d2