1
0

fix: old dhclient requires interface name

This commit is contained in:
dump_stack() 2023-05-15 18:55:27 +00:00
parent 8f1a2afc53
commit 53183245ce
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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