summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/qemukvm/files/ifup
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-plugins/plugins/qemukvm/files/ifup')
-rw-r--r--src/os-plugins/plugins/qemukvm/files/ifup6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os-plugins/plugins/qemukvm/files/ifup b/src/os-plugins/plugins/qemukvm/files/ifup
index b3218798..e53ae3b6 100644
--- a/src/os-plugins/plugins/qemukvm/files/ifup
+++ b/src/os-plugins/plugins/qemukvm/files/ifup
@@ -22,7 +22,7 @@ VM_ID=$(echo $1 | grep -oE "0[0-4]$")
QKTMPDIR=/tmp/qemukvm/${USER}/${VM_ID}
# Use the udhcpcd as DHCP server and brctl as provided by default in OpenSLX
-# environments via uclibc-wrapper.
+# environments.
. ${PLUGINCONFDIR}/network.conf
# Just decide by the virtual network device used which kind of connection
@@ -50,7 +50,7 @@ case "$1" in
${OPENSLX_DEFAULT_CONFDIR}/udhcpd.conf \
>${QKTMPDIR}/udhcpd.conf
touch ${QKTMPDIR}/udhcpd.leases
- sudo /opt/openslx/uclib-rootfs/usr/sbin/udhcpd \
+ sudo /opt/openslx/rootfs/usr/sbin/udhcpd \
-S ${QKTMPDIR}/udhcpd.conf
# iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE
;;
@@ -67,7 +67,7 @@ case "$1" in
-e "s,LEASEFILE,${QKTMPDIR}/udhcpd.leases," \
${OPENSLX_DEFAULT_CONFDIR}/udhcpd.conf >${QKTMPDIR}/udhcpd.conf
touch ${QKTMPDIR}/udhcpd.leases
- sudo /opt/openslx/uclib-rootfs/usr/sbin/udhcpd \
+ sudo /opt/openslx/rootfs/usr/sbin/udhcpd \
-S ${QKTMPDIR}/udhcpd.conf
;;
esac