Commit Graph

6 Commits

Author SHA1 Message Date
04c93b513c Provide per-hostname interface configs 2022-10-18 19:54:17 +02:00
5bc0d2c84c Futher flesh out the generator
- Create a per-host directory called overlays/$(overlay)/hostname/$(host.hostname) to have files that
  ought to be included only for that host. Things like /etc/vpp/config/interface.vpp go there
- Rename the "templates" directory as overlays/$(overlay)/common/
- Render one after the other, so a file can exist in common and hostname, the latter taking precedence
- Remove the config for 'pubkeys' and instead just make these common/root/.ssh/* and common/home/ipng/.ssh/*
- Split out bootstrap.vpp so that a per-host include can be overriden for interfaces.vpp
  - But keep a default common/etc/vpp/config/interface.vpp as a placeholder, so that VPP will still start
    even if the per-hostname override isn't provided.
- Generate a fresh output for 'default' on all machines
2022-10-18 16:30:52 +02:00
a665e3cbf0 Add a placeholder flow for create/destroy 2022-10-17 09:44:48 +02:00
54aa9f1890 Add hvn1/hvn2 and remove the comments from hvn0 2022-10-14 12:26:57 +02:00
ad7b311f46 Emit the build into build//spongebob.ipng.nl// 2022-10-13 21:42:01 +02:00
27d4ec6194 initial checkin - a start of the generator, and some config files and overlays 2022-10-13 20:41:34 +02:00