From e23dd62409ba84006001593de18d99dcf67b19cf Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 11 Apr 2018 22:24:02 +0200 Subject: Creating the first local mirror dependant client --- deployments/08:00:27:36:83:9b.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 deployments/08:00:27:36:83:9b.json 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 + } + } +} -- cgit v1.2.3-70-g09d2