index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2018-05-24 20:30:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-24 20:30:46 +0200 |
commit | f85301544827b20a2ba206092affd3da379842a1 (patch) | |
tree | 7f2dc83a9af0fa53085538ffb1210fa5840047c8 /deployments/08:00:27:6f:0c:25.json | |
parent | 4031af07597002747ae344dd3e8594520688f4e9 (diff) | |
parent | 30010a418a0338ba3f513028794552469a9dae11 (diff) |
-rw-r--r-- | deployments/08:00:27:6f:0c:25.json | 29 |
diff --git a/deployments/08:00:27:6f:0c:25.json b/deployments/08:00:27:6f:0c:25.json new file mode 100644 index 00000000..423fe872 --- /dev/null +++ b/deployments/08:00:27:6f:0c:25.json @@ -0,0 +1,29 @@ +{ + "args" : { + "password" : "0000", + "post" : "stay" + }, + "post" : { + "Installing DNS + Database": { + "pacman -Syy --noconfirm powerdns postgresql" : null + }, + "Setup Database": { + "sh -c \"echo 'postgres:{pin}' | chpasswd\"" : null, + "su - postgres -c \"initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data'\"" : null, + "systemctl start postgresql" : null, + "su - postgres -c \"psql -c \\\"CREATE USER pdns WITH PASSWORD 'SomePassword';\\\"\"" : {"debug" : true} + }, + "Setup DNS": { + "sh -c \"echo -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, + "systemctl enable postgresql" : null, + "systemctl enable powerdns" : null + } + } +} |