summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/vyos-1x-vmware.preinst1
-rw-r--r--debian/vyos-1x.install2
-rw-r--r--debian/vyos-1x.preinst3
3 files changed, 6 insertions, 0 deletions
diff --git a/debian/vyos-1x-vmware.preinst b/debian/vyos-1x-vmware.preinst
new file mode 100644
index 000000000..2e612522c
--- /dev/null
+++ b/debian/vyos-1x-vmware.preinst
@@ -0,0 +1 @@
+dpkg-divert --package vyos-1x-vmware --add --rename /etc/vmware-tools/tools.conf
diff --git a/debian/vyos-1x.install b/debian/vyos-1x.install
index 07827650b..2ed25755f 100644
--- a/debian/vyos-1x.install
+++ b/debian/vyos-1x.install
@@ -4,6 +4,8 @@ etc/ipsec.d
etc/netplug
etc/opennhrp
etc/rsyslog.d
+etc/securetty
+etc/security
etc/sudoers.d
etc/systemd
etc/sysctl.d
diff --git a/debian/vyos-1x.preinst b/debian/vyos-1x.preinst
index 009fd22a2..45440bf64 100644
--- a/debian/vyos-1x.preinst
+++ b/debian/vyos-1x.preinst
@@ -1 +1,4 @@
+dpkg-divert --package vyos-1x --add --rename /etc/securetty
+dpkg-divert --package vyos-1x --add --rename /etc/security/capability.conf
dpkg-divert --package vyos-1x --add --rename /lib/systemd/system/lcdproc.service
+