mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-29 15:44:07 +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 '====================================================='
|
||||||
|
|
||||||
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
|
# Load the date from the hardware clock, setting it in local time
|
||||||
hwclock -l -s
|
hwclock -l -s
|
||||||
|
|
||||||
@ -32,7 +27,9 @@ if ! unsealtotp.sh ; then
|
|||||||
echo '!!!!!'
|
echo '!!!!!'
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
# try to setup DHCP, but fail quickly
|
||||||
|
udhcpc -n
|
||||||
|
|
||||||
# Start an interactive shell
|
# Start an interactive shell
|
||||||
export PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
export PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user