index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2019-06-20 16:51:42 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2019-06-20 16:51:42 +0000 |
commit | 9e9c8e0051b7658a181e849a27904a2e8feb01a2 (patch) | |
tree | c5da4614f3b04ce1a1923e82904bf8a2e3c91379 /deployments | |
parent | 430f5bda2e8c1a222f14b3e41b7bc5f3d229bf71 (diff) |
-rw-r--r-- | deployments/00:01:23:45:67:89.json | 9 |
diff --git a/deployments/00:01:23:45:67:89.json b/deployments/00:01:23:45:67:89.json index 5f49a951..cb8cf866 100644 --- a/deployments/00:01:23:45:67:89.json +++ b/deployments/00:01:23:45:67:89.json @@ -5,14 +5,15 @@ "packages" : "openssh sudo openvpn easy-rsa", "post" : "stay", "country" : "SE", - "mirrors" : true + "mirrors" : true, + "rerun" : "install database" }, "post" : { "install database": "postgresql", "Configure database": { - "su - postgres -c \"psql -c \\\"CREATE DATABASE pdns;\\\"\"" : {"boot" : true, "debug" : true}, - "su - postgres -c \"psql -c \\\"CREATE USER pdns WITH ENCRYPTED PASSWORD 'testpass';\\\"\"" : {"boot" : true, "debug" : true}, - "su - postgres -c \"psql -c \\\"GRANT ALL PRIVILEGES ON DATABASE pdns TO pdns;\\\"\"" : {"boot" : true, "debug" : true} + "su - postgres -c 'psql -c \"CREATE DATABASE pdns;\"'" : {"boot" : true, "debug" : true}, + "su - postgres -c 'psql -c \"CREATE USER pdns WITH ENCRYPTED PASSWORD 'testpass';\"'" : {"boot" : true, "debug" : true}, + "su - postgres -c 'psql -c \"GRANT ALL PRIVILEGES ON DATABASE pdns TO pdns;\"'" : {"boot" : true, "debug" : true} }, "Configure OpenVPN" : { "mkdir -p /etc/openvpn/server/vpn_ccd" : null, |