fix: old dhclient requires interface name
This commit is contained in:
parent
8f1a2afc53
commit
53183245ce
@ -14,4 +14,5 @@ echo PermitRootLogin yes >> $TMPDIR/etc/ssh/sshd_config
|
|||||||
|
|
||||||
echo '#!/bin/sh' > $TMPDIR/etc/rc.local
|
echo '#!/bin/sh' > $TMPDIR/etc/rc.local
|
||||||
echo 'dhclient' >> $TMPDIR/etc/rc.local
|
echo 'dhclient' >> $TMPDIR/etc/rc.local
|
||||||
|
echo 'dhclient eth0' >> $TMPDIR/etc/rc.local
|
||||||
chmod +x $TMPDIR/etc/rc.local
|
chmod +x $TMPDIR/etc/rc.local
|
||||||
|
Loading…
Reference in New Issue
Block a user