GitXplorerGitXplorer
i

netbox-kickstart-generator

public
4 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
eafc0fbe6ccc0eab851d27de4c96dfb15cd0cc1d

Update dependencies

iignatenkobrain committed 2 years ago
Verified
79503e809a6c980f7973fc8ff57a5cf7f9d2335c

Bump minimal version and fix compatibility with Netbox 2.9+

iignatenkobrain committed 4 years ago
Verified
aa35cbfb57891e13e282f2df436a6ad00a548675

chore: Update dependencies

iignatenkobrain committed 4 years ago
Verified
ff772cccad1ec85aa171b02023f2cb51302ab4c9

Create a bridge (and assign it to VLAN) only if IP is assigned

iignatenkobrain committed 5 years ago
Verified
55b16f0827a8a22c6016ef38bdf382c7cc95b8ec

templates: remove unneeded check

iignatenkobrain committed 5 years ago
Verified
a51265539106f0798c34648c06ef078273084b19

Handle ifcfg values with whitespaces

iignatenkobrain committed 5 years ago

README

The README file for this repository.

netbox-kickstart-generator

Generate kickstart files based on the data in netbox.

Configuration

Create config.py in the instance folder that contains:

  • NETBOX_URL
  • NETBOX_TOKEN

Running and Testing

poetry run env FLASK_APP=netbox_kickstart_generator flask run

If you wish to run in development mode, set FLASK_ENV to development:

export FLASK_ENV=development

To see the kickstart which would be generated for specific SN, run:

curl http://127.0.0.1:5000/kickstart -H "X-System-Serial-Number: MXQ7140CHN"

Contributing

Make sure to run black before each commit to ensure code style.