From 603657a166bff4a16606a2575364446171466af6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 23 Mar 2017 20:08:19 +0200 Subject: Initial implementation of network configuration --- README | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..eac7786 --- /dev/null +++ b/README @@ -0,0 +1,35 @@ +buildos is a Debian-based in-memory, net-booted operating system specialized +for building software with the build2 toolchain. + +Configuration +------------- + +- Network is configured via DHCP. All Ethernet intrface that have carrier are + tried in (some) order and the first interface that is successfully configure + via DHCP is used. + +- Hostname is configure from the DHCP information. Failed that, a name is + generated based on the MAC address. @@ Maybe also kernel cmdline. + +PXE +--- + +- Copy the kernel image and initrd to TFTP + +# mkdir -p /var/lib/tftpboot/buildos +# cp buildos-image buildos-initrd /var/lib/tftpboot/buildos/ + +- Assuming the host has MAC address de-ad-be-ef-b8-da, create host-specific + configuration (or use 'default' for the last path component to apply to + all the hosts): + +# cat </var/lib/tftpboot/pxelinux.cfg/01-de-ad-be-ef-b8-da +default buildos +prompt 1 +timeout 50 + +label buildos + menu label buildos + kernel /buildos/buildos-image + append initrd=/buildos/buildos-initrd +EOF -- cgit v1.1