UEFI grub netbooting is not PXE. Indeed PXE is a BIOS thing only.
No functional change other than to messages.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
happen to run on the same host then setting ControlDaemonHost will
configure both in one go.
-DHCP AND PXE
-------------
+DHCP AND TFTP (eg PXE)
+----------------------
osstest does not require a dedicated DHCP server but one must be
present on the network and osstest requires access to its leases
DhcpWatchMethod host prop (default configured via
HostProp_DhcpWatchMethod)
-Likewise osstest does not require a dedicated PXE server but one must
-exist on the network and be accessible via a local path on the osstest
-control VM (e.g. over NFS)
+Likewise osstest does not require a dedicated TFTP (netboot) server
+but one must exist on the network and be accessible via a local path
+on the osstest control VM (e.g. over NFS)
CONFIGURATION
=============
if (get_host_property($ho, "firmware",'') eq "uefi") {
die unless $ho->{Suite} =~ m/jessie|stretch/;
# Prevent grub-install from making a new Debian boot entry, so
- # we always reboot from PXE. Debian bug #789798 proposes a
+ # we always reboot from the network. Debian bug #789798 proposes a
# properly preseedable solution to this.
preseed_hook_installscript($ho, $sfx,
'/usr/lib/base-installer.d/',
return $wf_url;
}
-#---------- pxe handling ----------
+#---------- netboot handling ----------
sub file_link_contents ($$$) {
my ($fn, $contents, $stash) = @_;
# and return the first pattern we managed to completely substitute
return wantarray ? ($dir,$pat) : $dir.$pat;
}
- die "no pxe template ($templatekey) matched $templates ".
+ die "no netboot template ($templatekey) matched $templates ".
(join ",", sort keys %v)." ?";
}
$bootfile, hostnamepath($ho)."-pxegrub.cfg");
}
-# UEFI systems PXE boot using grub.efi
+# UEFI systems netboot using grub.efi
sub setup_netboot_di_uefi ($$$$$;%) {
my ($ho,$kern,$initrd,$dicmd,$hocmd,%xopts) = @_;
setup_grub_efi_bootcfg($ho, <<END);
so you need to insert those missing runvars into standalone.db with
sqlite3.
- - Don't forget to set the machine to pxeboot in the BIOS.
+ - Don't forget to set the machine to netboot in the BIOS.
- Currently you need a serial console at 115200 8n1; see TODO.
TftpDiBase The path under `Path' to the root of the debian
installer images.
TftpGrubBase The path under `Path' to the root of the grub
- EFI PXE images.
+ EFI netboot images.
Tftp<setting>_<scope>
# Usages:
#
# ./mg-hosts mkpxedir HOST...
-# Create directories for pxeboot as expected by the rest
+# Create directories for netboot as expected by the rest
# of osstest. Will use "sudo". The HOST(s) must be
# allocated (via mg-allocate HOST).
#