Release of EvoBSD 6.8.0 #37
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
Contributions are welcome, as long as they respect our current workflow:
|
Contributions are welcome, as long as they respect our current workflow:
|
||||||
|
|
||||||
1. The master branch is only for releases. Once properly tested,
|
1. The master branch is only for releases. Once properly tested,
|
||||||
the dev branch can be merged, the release tagged and a tar archive
|
the dev branch can be merged, the release tagged and a tar archive
|
||||||
created.
|
created.
|
||||||
|
|
||||||
2. The dev branch should never be commited to directly, unless
|
2. The dev branch should never be commited to directly, unless
|
||||||
you're updating the CHANGELOG file.
|
you're updating the CHANGELOG file.
|
||||||
|
|
||||||
3. Use feature branches for anything else, once they've passed all
|
3. Use feature branches for anything else, once they've passed all
|
||||||
CI test, lints and have been reviewed by other contributors through a
|
CI test, lints and have been reviewed by other contributors through a
|
||||||
pull request, they may be merged into the dev branch.
|
pull request, they may be merged into the dev branch.
|
||||||
|
|
||||||
|
|
||||||
Open issues liberally, but please review closed and opened issues
|
Open issues liberally, but please review closed and opened issues
|
||||||
for duplicates before hand.
|
for duplicates before hand.
|
||||||
|
|
14
README.md
14
README.md
|
@ -26,19 +26,19 @@ ansible-playbook evolixisation.yml --ask-vault-pass -CDKi hosts -l HOSTNAME
|
||||||
Changes can be tested by using [Packer](https://www.packer.io/) and
|
Changes can be tested by using [Packer](https://www.packer.io/) and
|
||||||
[vmm(4)](https://man.openbsd.org/vmm.4) :
|
[vmm(4)](https://man.openbsd.org/vmm.4) :
|
||||||
|
|
||||||
* This process depends on the [Go](https://golang.org/) programming language.
|
* This process depends on the [Go](https://golang.org/) programming language.
|
||||||
|
|
||||||
```
|
```
|
||||||
# pkg_add go packer
|
# pkg_add go packer
|
||||||
```
|
```
|
||||||
|
|
||||||
* We use the [packer-builder-vmm](https://github.com/prep/packer-builder-vmm) project to bridge Packer and vmm(4)
|
* We use the [packer-builder-vmm](https://github.com/prep/packer-builder-vmm) project to bridge Packer and vmm(4)
|
||||||
|
|
||||||
```
|
```
|
||||||
$ go get -u github.com/prep/packer-builder-vmm/cmd/packer-builder-vmm
|
$ go get -u github.com/prep/packer-builder-vmm/cmd/packer-builder-vmm
|
||||||
```
|
```
|
||||||
|
|
||||||
* Here is an example build file
|
* Here is an example build file
|
||||||
|
|
||||||
```
|
```
|
||||||
$ vim openbsd.json
|
$ vim openbsd.json
|
||||||
|
@ -101,25 +101,25 @@ $ vim openbsd.json
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
* You need your unprivileged user to be able to run vmctl(8) through doas(1)
|
* You need your unprivileged user to be able to run vmctl(8) through doas(1)
|
||||||
|
|
||||||
```
|
```
|
||||||
# echo "permit nopass myunprivilegeduser as root cmd /usr/sbin/vmctl" >> /etc/doas.conf
|
# echo "permit nopass myunprivilegeduser as root cmd /usr/sbin/vmctl" >> /etc/doas.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
* Build the virtual machine
|
* Build the virtual machine
|
||||||
|
|
||||||
```
|
```
|
||||||
$ packer build openbsd.json
|
$ packer build openbsd.json
|
||||||
```
|
```
|
||||||
|
|
||||||
* Start it
|
* Start it
|
||||||
|
|
||||||
```
|
```
|
||||||
doas vmctl start evobsd -cL -d output-vmm/evobsd.qcow2
|
doas vmctl start evobsd -cL -d output-vmm/evobsd.qcow2
|
||||||
```
|
```
|
||||||
|
|
||||||
* Enable NAT on your host machine
|
* Enable NAT on your host machine
|
||||||
|
|
||||||
```
|
```
|
||||||
pass out on em0 inet from tap0:network to any nat-to (em0)
|
pass out on em0 inet from tap0:network to any nat-to (em0)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# BGP
|
# BGP
|
||||||
|
|
||||||
Deployment of BGP check script with its cron, and a best route log cron.
|
Deployment of BGP check script with its cron, and a best route log cron.
|
||||||
|
|
||||||
## Tasks
|
## Tasks
|
||||||
|
@ -10,5 +10,5 @@ Everything is in the `tasks/main.yml` file.
|
||||||
|
|
||||||
The full list of variables (with default values) can be found in `defaults/main.yml`.
|
The full list of variables (with default values) can be found in `defaults/main.yml`.
|
||||||
|
|
||||||
* `bgp_mailto` : email address the output of the script will be sent to when a change is detected
|
* `bgp_mailto` : email address the output of the script will be sent to when a change is detected
|
||||||
* `bgp_exclude_grep_command` : facultative grep -v command for some peers not to be checked
|
* `bgp_exclude_grep_command` : facultative grep -v command for some peers not to be checked
|
||||||
|
|
|
@ -8,6 +8,6 @@ Everything is in the `tasks/main.yml` file.
|
||||||
|
|
||||||
## Available variables
|
## Available variables
|
||||||
|
|
||||||
* `nagios_nrpe_allowed_hosts` : list of IP/hosts authorized (default: none).
|
* `nagios_nrpe_allowed_hosts` : list of IP/hosts authorized (default: none).
|
||||||
|
|
||||||
The full list of variables (with default values) can be found in `defaults/main.yml`.
|
The full list of variables (with default values) can be found in `defaults/main.yml`.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# OSPF
|
# OSPF
|
||||||
|
|
||||||
Deployment of OSPF check scripts with their cron.
|
Deployment of OSPF check scripts with their cron.
|
||||||
|
|
||||||
## Tasks
|
## Tasks
|
||||||
|
@ -10,5 +10,5 @@ Everything is in the `tasks/main.yml` file.
|
||||||
|
|
||||||
The full list of variables (with default values) can be found in `defaults/main.yml`.
|
The full list of variables (with default values) can be found in `defaults/main.yml`.
|
||||||
|
|
||||||
* `ospf_mailto` : email address the output of the scripts will be sent to when a change is detected
|
* `ospf_mailto` : email address the output of the scripts will be sent to when a change is detected
|
||||||
* `ospf_sed_command` : facultative sed command to modify the ospfctl output and add a name to IPs
|
* `ospf_sed_command` : facultative sed command to modify the ospfctl output and add a name to IPs
|
||||||
|
|
Loading…
Reference in a new issue