summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/vep4600/10-eth0.link5
-rw-r--r--tools/vep4600/10-eth1.link5
-rw-r--r--tools/vep4600/10-eth2.link5
-rw-r--r--tools/vep4600/10-eth3.link5
-rw-r--r--tools/vep4600/10-eth4.link5
-rw-r--r--tools/vep4600/10-eth5.link5
-rw-r--r--tools/vep4600/10-eth6.link5
-rwxr-xr-xtools/vep4600/90-vep4600.chroot14
-rw-r--r--tools/vep4600/99-default.link0
9 files changed, 49 insertions, 0 deletions
diff --git a/tools/vep4600/10-eth0.link b/tools/vep4600/10-eth0.link
new file mode 100644
index 00000000..0885fd8b
--- /dev/null
+++ b/tools/vep4600/10-eth0.link
@@ -0,0 +1,5 @@
+[Match]
+Path=pci-0000:04:*
+
+[Link]
+Name=eth0
diff --git a/tools/vep4600/10-eth1.link b/tools/vep4600/10-eth1.link
new file mode 100644
index 00000000..9d33db13
--- /dev/null
+++ b/tools/vep4600/10-eth1.link
@@ -0,0 +1,5 @@
+[Match]
+Path=0000:b8:00.0
+
+[Link]
+Name=eth1
diff --git a/tools/vep4600/10-eth2.link b/tools/vep4600/10-eth2.link
new file mode 100644
index 00000000..60b88f83
--- /dev/null
+++ b/tools/vep4600/10-eth2.link
@@ -0,0 +1,5 @@
+[Match]
+Path=0000:b8:00.1
+
+[Link]
+Name=eth2
diff --git a/tools/vep4600/10-eth3.link b/tools/vep4600/10-eth3.link
new file mode 100644
index 00000000..0c37c8d4
--- /dev/null
+++ b/tools/vep4600/10-eth3.link
@@ -0,0 +1,5 @@
+[Match]
+Path=pci-0000:02:00.1
+
+[Link]
+Name=eth3
diff --git a/tools/vep4600/10-eth4.link b/tools/vep4600/10-eth4.link
new file mode 100644
index 00000000..7762187a
--- /dev/null
+++ b/tools/vep4600/10-eth4.link
@@ -0,0 +1,5 @@
+[Match]
+Path=pci-0000:02:00.0
+
+[Link]
+Name=eth4
diff --git a/tools/vep4600/10-eth5.link b/tools/vep4600/10-eth5.link
new file mode 100644
index 00000000..10099488
--- /dev/null
+++ b/tools/vep4600/10-eth5.link
@@ -0,0 +1,5 @@
+[Match]
+Path=pci-0000:02:00.3
+
+[Link]
+Name=eth5
diff --git a/tools/vep4600/10-eth6.link b/tools/vep4600/10-eth6.link
new file mode 100644
index 00000000..f3a6fe00
--- /dev/null
+++ b/tools/vep4600/10-eth6.link
@@ -0,0 +1,5 @@
+[Match]
+Path=pci-0000:02:00.2
+
+[Link]
+Name=eth6
diff --git a/tools/vep4600/90-vep4600.chroot b/tools/vep4600/90-vep4600.chroot
new file mode 100755
index 00000000..c4bb7496
--- /dev/null
+++ b/tools/vep4600/90-vep4600.chroot
@@ -0,0 +1,14 @@
+#!/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
+
+echo I: Update initramfs.
+update-initramfs -u
diff --git a/tools/vep4600/99-default.link b/tools/vep4600/99-default.link
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tools/vep4600/99-default.link