summaryrefslogtreecommitdiff
path: root/data/live-build-config
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-05-10 15:27:19 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-05-10 15:27:19 +0000
commit53c07039b7653bc0c844fe98f65aec65734f908f (patch)
treefaa4c69351d254aafcd64421c56768858b71a992 /data/live-build-config
parente3155cdea5ed3a337ccc3396dbf78ae541a07530 (diff)
downloadvyos-build-53c07039b7653bc0c844fe98f65aec65734f908f.tar.gz
vyos-build-53c07039b7653bc0c844fe98f65aec65734f908f.zip
sshguard: T4408: Add pkg sshquard from repo buster-backports
Add repo buster-backports for pkg "sshguard" Disable service sshquard by default
Diffstat (limited to 'data/live-build-config')
-rw-r--r--data/live-build-config/archives/buster-backports.pref.chroot3
-rwxr-xr-xdata/live-build-config/hooks/live/18-enable-disable_services.chroot1
2 files changed, 4 insertions, 0 deletions
diff --git a/data/live-build-config/archives/buster-backports.pref.chroot b/data/live-build-config/archives/buster-backports.pref.chroot
new file mode 100644
index 00000000..4aa122ee
--- /dev/null
+++ b/data/live-build-config/archives/buster-backports.pref.chroot
@@ -0,0 +1,3 @@
+Package: sshguard
+Pin: release n=buster-backports
+Pin-Priority: 600
diff --git a/data/live-build-config/hooks/live/18-enable-disable_services.chroot b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
index 6fdf3565..fbe2abde 100755
--- a/data/live-build-config/hooks/live/18-enable-disable_services.chroot
+++ b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
@@ -9,6 +9,7 @@ systemctl disable pmacctd.service
systemctl disable sfacctd.service
systemctl disable uacctd.service
systemctl disable ssh.service
+systemctl disable sshguard.service
systemctl disable openvpn.service
systemctl disable lldpd.service
systemctl disable LCDd.service