mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
run dhcp automatically on boot
This commit is contained in:
parent
291e28b040
commit
b0d2d4b5ba
@ -15,11 +15,6 @@ echo '|_| |_|\___|\__,_|\__,_|___/ (_) |_| \_\\___/|_| |_|'
|
||||
echo ''
|
||||
echo '====================================================='
|
||||
|
||||
echo
|
||||
echo "Run './start-xen' to load the hypervisor"
|
||||
echo "Run 'kexec -e' to boot it"
|
||||
echo
|
||||
|
||||
# Load the date from the hardware clock, setting it in local time
|
||||
hwclock -l -s
|
||||
|
||||
@ -33,6 +28,8 @@ if ! unsealtotp.sh ; then
|
||||
fi
|
||||
echo
|
||||
|
||||
# try to setup DHCP, but fail quickly
|
||||
udhcpc -n
|
||||
|
||||
# Start an interactive shell
|
||||
export PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
|
Loading…
Reference in New Issue
Block a user