summaryrefslogtreecommitdiff
path: root/tools/dell/90-vep.chroot
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-12-04 20:16:02 +0100
committerKim Hagen <kim.sidney@gmail.com>2019-12-04 20:17:51 +0100
commitdb9419e62d3760c02561a9e7a3d017e4f6ff3f4f (patch)
tree4c819dcf3fb8bddbd7ab68b94d7fc92d5c3a69d7 /tools/dell/90-vep.chroot
parent4b5219286ac808ef64a1689bbff2812a65287260 (diff)
downloadvyos-build-db9419e62d3760c02561a9e7a3d017e4f6ff3f4f.tar.gz
vyos-build-db9419e62d3760c02561a9e7a3d017e4f6ff3f4f.zip
add support for vep1400vyos/1.2.4
Diffstat (limited to 'tools/dell/90-vep.chroot')
-rwxr-xr-xtools/dell/90-vep.chroot16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/dell/90-vep.chroot b/tools/dell/90-vep.chroot
new file mode 100755
index 00000000..a88a7de1
--- /dev/null
+++ b/tools/dell/90-vep.chroot
@@ -0,0 +1,16 @@
+#!/bin/sh
+echo I: Change the default serial baud rate.
+sed -i 's/9600/115200/g' /opt/vyatta/etc/config-migrate/migrate/system/3-to-4
+
+echo "ShowStatus=yes" >> /etc/systemd/system.conf
+
+echo I: Disable default link rule.
+rm /lib/systemd/network/99-default.link
+touch /lib/systemd/network/99-default.link
+rm /lib/udev/rules.d/65-vyatta-net.rules
+touch /lib/udev/rules.d/65-vyatta-net.rules
+rm /lib/udev/rules.d/75-persistent-net-generator.rules
+touch /lib/udev/rules.d/75-persistent-net-generator.rules
+
+echo I: Update initramfs.
+update-initramfs -u