index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-08-18 21:56:22 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-08-18 21:56:22 +0000 |
commit | af875e3902904e80557cf3ecb351ff5e3a80f461 (patch) | |
tree | 75fa1d775b15d6563a94097444f470f7c75151f9 /profiles/dns_server.json | |
parent | 76c386951a802abd814f88aa9d67109275244a5c (diff) | |
parent | 1d8591c7fe2a9c4d2a6338cc332e7704751acbe7 (diff) |
-rw-r--r-- | profiles/dns_server.json | 29 |
diff --git a/profiles/dns_server.json b/profiles/dns_server.json deleted file mode 100644 index 423fe872..00000000 --- a/profiles/dns_server.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "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 - } - } -} |