Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/deployments/08:00:27:6f:0c:25.json
blob: 09c51dcdde3be9ae9d763f0fb539b969c0178a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "args" : {
        "password" : "0000"
    },
    "post" : {
        "Installing DNS + Database": {
            "pacman -Syy --noconfirm powerdns postgresql" : null
        },
        "Setup Database": {
            "sh -c \"echo 'postgres:{pin}' | chpasswd\"" : {"debug" : true},
            "su - postgres -c \"initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data'\"" : {"debug" : true},
            "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
        },
        "Setup autostarts": {
            "systemctl enable dhcpcd" : null,
            "systemctl enable postgresql" : null,
            "systemctl enable powerdns" : null
        }
    }
}