5 Commits (4d60495551539a3ffb56e9d3166aed45311fe229)

Author SHA1 Message Date
LEdoian b02a04ccbf Enable forwarding in all the routers 3 years ago
LEdoian ca51082938 Name interfaces using mactab 3 years ago
LEdoian 0a5c5e9d54 Fix partition table mismatch
gen_disks expects swap to be present, yet we disabled it in
alpine_install.
3 years ago
LEdoian 28bb470019 Fix ownership of generated disk images 3 years ago
LEdoian ac5850d95e Add gen_disks.sh script to modify virtual drives
We expect the repo root to contain pre-installed Alpine 3.15.4 in raw
drive file 'dummydisk.img'. This then gets copied to
output/<machine>/disk.img and the generated files are put into it in
order to be used.

Beware, this uses hardcoded paths and expects specific disk layout.
This relies on how the installation formatted the disk. While the
installation procedure is not documented anywhere, it is in essence
default setup of Alpine Linux, with minimal tweaks that should not
affect behaviour of routing (but still impede reproducibility). The only
major difference from default settings is BIRD being pre-installed.

Unfortunately, using loop devices and mounting requires root privileges
(as far as I know). It should be possible to use some other way, but
this is the simplest I know at the moment.
3 years ago