summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rwxr-xr-xdata/live-build-config/hooks/live/18-enable-disable_services.chroot2
-rw-r--r--data/live-build-config/includes.chroot/etc/sudoers.d/openvpn2
2 files changed, 4 insertions, 0 deletions
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 787510e0..0caed88a 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
@@ -39,3 +39,5 @@ systemctl disable strongswan.service
systemctl disable frr.service
systemctl disable salt-minion.service
systemctl disable nginx.service
+
+systemctl enable vyos-hostsd.service
diff --git a/data/live-build-config/includes.chroot/etc/sudoers.d/openvpn b/data/live-build-config/includes.chroot/etc/sudoers.d/openvpn
new file mode 100644
index 00000000..7c5454a0
--- /dev/null
+++ b/data/live-build-config/includes.chroot/etc/sudoers.d/openvpn
@@ -0,0 +1,2 @@
+openvpn ALL=(ALL) NOPASSWD: /sbin/ip
+Defaults:openvpn !requiretty