From d794f046dc154028ba20b19df65eeb8ce2a03903 Mon Sep 17 00:00:00 2001
From: Tony Kuker <akuker@gmail.com>
Date: Fri, 26 Feb 2021 17:36:59 -0600
Subject: [PATCH] #27 Files to configure the network bridge

---
 src/raspberrypi/os_integration/dhcpcd.conf.patch |  7 +++++++
 src/raspberrypi/os_integration/rascsi_bridge     | 13 +++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 src/raspberrypi/os_integration/dhcpcd.conf.patch
 create mode 100644 src/raspberrypi/os_integration/rascsi_bridge

diff --git a/src/raspberrypi/os_integration/dhcpcd.conf.patch b/src/raspberrypi/os_integration/dhcpcd.conf.patch
new file mode 100644
index 00000000..459f0ee0
--- /dev/null
+++ b/src/raspberrypi/os_integration/dhcpcd.conf.patch
@@ -0,0 +1,7 @@
+--- dhcpcd_orig.conf	2021-02-26 17:32:14.065284400 -0600
++++ dhcpcd.conf	2021-02-26 17:32:30.925039567 -0600
+@@ -58,3 +58,4 @@
+ #interface eth0
+ #fallback static_eth0
+ #
++denyinterfaces eth0
diff --git a/src/raspberrypi/os_integration/rascsi_bridge b/src/raspberrypi/os_integration/rascsi_bridge
new file mode 100644
index 00000000..923fb35e
--- /dev/null
+++ b/src/raspberrypi/os_integration/rascsi_bridge
@@ -0,0 +1,13 @@
+#
+# Defines the 'rascsi_bridge' bridge that connects the RaSCSI network
+# interface (ex DaynaPort SCSI/Link) to the outside world.
+#
+# Depending upon your system configuration, you may need to update this
+# file to change 'eth0' to your Ethernet interface
+#
+# This file should be place in /etc/network/interfaces.d
+
+auto rascsi_bridge
+iface rascsi_bridge inet dhcp
+	bridge_ports eth0
+