From c9f4bc7902fc2c2604433b87c0e8ace8255c601b Mon Sep 17 00:00:00 2001 From: Pawel Zmarzly Date: Fri, 17 Nov 2023 10:00:02 -0800 Subject: [PATCH] Apply linter suggestions in syseng Reviewed By: vjt Differential Revision: D51429259 fbshipit-source-id: 8b9d107dc464418a4acd6c14981e96c77bebdf7b --- CODE_OF_CONDUCT.md | 1 - docs/getting-started.md | 2 +- vagrant/README.md | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index d1abc70..f049d4c 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -74,4 +74,3 @@ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.ht For answers to common questions about this code of conduct, see https://www.contributor-covenant.org/faq - diff --git a/docs/getting-started.md b/docs/getting-started.md index a57d592..5c6ee03 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -1,6 +1,6 @@ # Getting Started -Out of the box `dhcplb` supports loading DHCP server lists from text files and logging to stderr with `glog`. +Out of the box `dhcplb` supports loading DHCP server lists from text files and logging to stderr with `glog`. All configuration files supplied to `dhcplb` (config, overrides and DHCP server files) are watched for changes using [`fsnotify`](https://github.com/fsnotify/fsnotify) and hot-reloaded without restarting the server. Configuration is provided to the program via a JSON file diff --git a/vagrant/README.md b/vagrant/README.md index 5cfa5c3..12803f8 100644 --- a/vagrant/README.md +++ b/vagrant/README.md @@ -53,9 +53,9 @@ This will bring up the following VMs: test things. It's DISCOVER/SOLICIT messages will be picked up by the `dhcprelay` instance -You can ssh into VMs using `vagrant ssh ${vm_name}`. Destroy them with +You can ssh into VMs using `vagrant ssh ${vm_name}`. Destroy them with `vagrant destrory ${vm_name}`. If you find bugs in the `chef` cookbooks or you -want to change something there you can test your `chef` changes using +want to change something there you can test your `chef` changes using `vagrant provision ${vm_name}` on a running VM. ## Development cycle @@ -148,6 +148,6 @@ The main config is in `/etc/dhcp/dhcpd.conf`. Subnets are configured like this should you need to change them: ``` -subnet 192.168.50.0 netmask 255.255.255.0 {} +subnet 192.168.50.0 netmask 255.255.255.0 {} subnet 192.168.51.0 netmask 255.255.255.0 {range 192.168.51.220 192.168.51.230;} ```