From 53183245ce9c1bb2e47c25fca8cdcf15ce30715b Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 15 May 2023 18:55:27 +0000 Subject: [PATCH] fix: old dhclient requires interface name --- tools/qemu-debian-img/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qemu-debian-img/setup.sh b/tools/qemu-debian-img/setup.sh index 69cd43c..03624d3 100755 --- a/tools/qemu-debian-img/setup.sh +++ b/tools/qemu-debian-img/setup.sh @@ -14,4 +14,5 @@ echo PermitRootLogin yes >> $TMPDIR/etc/ssh/sshd_config echo '#!/bin/sh' > $TMPDIR/etc/rc.local echo 'dhclient' >> $TMPDIR/etc/rc.local +echo 'dhclient eth0' >> $TMPDIR/etc/rc.local chmod +x $TMPDIR/etc/rc.local