From 1e1ab0ad3244db7f42585a0a952051b834de0b83 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Tue, 12 May 2020 07:05:26 +0200
Subject: [PATCH] changing busybox udhcpc script path
---
gns3server/compute/docker/resources/init.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gns3server/compute/docker/resources/init.sh b/gns3server/compute/docker/resources/init.sh
index 8040d02..987a03b 100755
--- a/gns3server/compute/docker/resources/init.sh
+++ b/gns3server/compute/docker/resources/init.sh
@@ -26,6 +26,9 @@ PATH=/gns3/bin:/tmp/gns3/bin:/sbin
if [ ! -d /tmp/gns3/bin ]; then
busybox mkdir -p /tmp/gns3/bin
/gns3/bin/busybox --install -s /tmp/gns3/bin
+ rm /tmp/gns3/bin/udhcpc
+ echo -e '#!/bin/sh\n/gns3/bin/busybox udhcpc -s /gns3/etc/udhcpc/default.script' > /tmp/gns3/bin/udhcpc
+ chmod 777 /tmp/gns3/bin/udhcpc
fi
# Restore file permission and mount volumes
--
2.26.2