From b0d2d4b5ba343166250c0279b61b47b04d1fe43a Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Mon, 27 Mar 2017 18:03:09 -0400 Subject: [PATCH] run dhcp automatically on boot --- initrd/init | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/initrd/init b/initrd/init index c9b1e9e2..7684ab72 100755 --- a/initrd/init +++ b/initrd/init @@ -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 @@ -32,7 +27,9 @@ if ! unsealtotp.sh ; then echo '!!!!!' fi echo - + +# try to setup DHCP, but fail quickly +udhcpc -n # Start an interactive shell export PATH=/sbin:/usr/sbin:/bin:/usr/bin