Skip to content

Instantly share code, notes, and snippets.

@hytdsh
Last active December 9, 2017 11:25
Show Gist options
  • Save hytdsh/636fa25c344e5446f4dbbfae06392a8a to your computer and use it in GitHub Desktop.
Save hytdsh/636fa25c344e5446f4dbbfae06392a8a to your computer and use it in GitHub Desktop.
interface=enp0s3
dhcp-range=tag:enp0s3,192.168.99.101,192.168.99.199,255.255.255.0,24h
dhcp-option=tag:enp0s3,option:router,192.168.99.1
dhcp-boot=linux/pxelinux.0
enable-tftp
tftp-root=/srv/tftp
@hytdsh
Copy link
Author

hytdsh commented Dec 6, 2017

/srv/tftp has a structure extracted from netboot.tar.gz as follows

$ ls -l /srv/tftp/*
/srv/tftp/linux -> ubuntu1710amd64

/srv/tftp/ubuntu1710amd64:
total 8
ldlinux.c32 -> ubuntu-installer/amd64/boot-screens/ldlinux.c32
pxelinux.0 -> ubuntu-installer/amd64/pxelinux.0
pxelinux.cfg -> ubuntu-installer/amd64/pxelinux.cfg
ubuntu-installer
version.info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment