From a1371bd94cf45d9e9adbd4886dd7a081b9c780e8 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 9 Aug 2019 10:49:33 +0200 Subject: Update AGL netboot documentation - AGL support now nbd v3 protocol for net booting. Change-Id: If7b9cd261115de5aa9133ccf926647edf483b08a Signed-off-by: Ronan Le Martret --- meta-netboot/README | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'meta-netboot') diff --git a/meta-netboot/README b/meta-netboot/README index b571186ba..dc545b2f4 100644 --- a/meta-netboot/README +++ b/meta-netboot/README @@ -8,11 +8,20 @@ Content and usage This layer creates a new supplementary initrd image which can be downloaded through TFTP with the kernel. At boot time, the init script will try to mount the rootfs based on the following kernel command line parameters: + * nbd.server: IP address to reach the NBD server -* nbd.port: TCP port on which server is listening (default: 10809) * nbd.dev: nbd device to use (default: /dev/nbd0) * nbd.debug: activate debug mode (init script is then interruptible) +For nbd v2: + +* nbd.port: TCP port on which server is listening (default: 10809) + +For nbd v3: + +* nbd.namev3: The name of the image served by nbd-server. + + The layer meta-netboot contains recipes for the following components: * busybox: activate the built-in NBD client * initramfs-netboot: contains the init script started by the kernel: basically, this script mounts the real root filesystem, then pivot_root on it and finally exec systemd. -- cgit 1.2.3-korg