Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/deployments/00:01:23:45:67:89.json
diff options
context:
space:
mode:
Diffstat (limited to 'deployments/00:01:23:45:67:89.json')
-rw-r--r--deployments/00:01:23:45:67:89.json9
1 files changed, 5 insertions, 4 deletions
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,