Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/deployments
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2018-04-11 22:24:02 +0200
committerGitHub <noreply@github.com>2018-04-11 22:24:02 +0200
commite23dd62409ba84006001593de18d99dcf67b19cf (patch)
tree7798ec809c6313da54faf297c01ec645e0c02157 /deployments
parentecadddb3fc2313ab446fe7ac7a959b7f7ec32b26 (diff)
Creating the first local mirror dependant client
Diffstat (limited to 'deployments')
-rw-r--r--deployments/08:00:27:36:83:9b.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/deployments/08:00:27:36:83:9b.json b/deployments/08:00:27:36:83:9b.json
new file mode 100644
index 00000000..c6e4f698
--- /dev/null
+++ b/deployments/08:00:27:36:83:9b.json
@@ -0,0 +1,21 @@
+{
+ "args" : {
+ "password" : "0000"
+ },
+ "pre" : {
+ "sh -c \"echo -n -e '[arch_offline]\nSigLevel = Optional TrustAll\nServer = http://localmirror.lan/archlinux/os/${arch}' >> /etc/pacman.conf\"" : null
+ },
+ "post" : {
+ "Setup openssh": {
+ "pacman -Syy --noconfirm openssh" : null
+ },
+ "Setup OpenVPN": {
+ "pacman -Syy --noconfirm openvpn" : null
+ },
+ "Setup autostarts": {
+ "systemctl enable dhcpcd" : null,
+ "systemctl enable openssh" : null,
+ "systemctl enable openvpn-client@testclient" : null
+ }
+ }
+}