Creating the first local mirror dependant client

This commit is contained in:
Anton Hvornum 2018-04-11 22:24:02 +02:00 committed by GitHub
parent ecadddb3fc
commit e23dd62409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -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
}
}
}