Creating the first local mirror dependant client
This commit is contained in:
parent
ecadddb3fc
commit
e23dd62409
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue