Closed muhamadazmy closed 5 years ago
The first issue we need to discuss is networking. 0-initramfs used to have a simple unit file that boots dhcpcd on the available network card(s). But it was removed in fever of networkd
.
I think we can bring this back (with some improvements) and we make it responsibility of networkd
to stop this service before taking over the machine networking stack.
Later on, bootstrap
can only then depend on this internet
service, and we grantee a smooth boot and running of the service
I think we can bring this back (with some improvements) and we make it responsibility of networkd to stop this service before taking over the machine networking stack.
I don't have a problem with this. Seems logical enough. @delandtj ?
for networking https://github.com/threefoldtech/zosv2/pull/236 addresses the bootstrap part of the network, as I think some simple dhcp runs on interfaces will not cope with some more complex setups. It will never be as simple, and now in bootstrap we can set a krnl cmdline to include or exclude interfaces, as that will come up in the future. also commented in the meeting notes 20190909
The bootstrap daemon requirements:
rootfs
of the node/etc/zinit/
are monitored