]> git.proxmox.com Git - pve-installer.git/commitdiff
get DHCP leases on all interfaces
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 7 Mar 2017 15:03:00 +0000 (16:03 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 8 Mar 2017 08:11:30 +0000 (09:11 +0100)
instead of calling the networking init script

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
unconfigured.sh

index 1066027c7f3f917bb277af484820598beb045df6..ad5d20aff48b4363b1e2511bc010ed7cdca54a3e 100755 (executable)
@@ -79,8 +79,8 @@ export PREVLEVEL=N
 hostname proxmox
 
 # try to get ip config with dhcp
-echo -n "Detecting network settings... "
-/etc/init.d/networking start >/dev/tty2 2>&1
+echo -n "Attempting to get DHCP leases... "
+dhclient -v
 echo "done"
 
 xinit -- -dpi 96 >/dev/tty2 2>&1