Replace mdev with udev:#263
Conversation
This gets us persistent network interface naming. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
|
Tested, seems to work fine -- being an actual systemd container it does disk/by-id et al "correctly", which is was what I was trying to emulate in persistent-storage.sh, so win all around in my eyes. The only downside is that the thing is quite large, including glibc and systemd etc amounting to around 116mb of stuff. All that said I'd rather have this than the mdev prone-to-fail dance we had before -- and this opens up the path for a (fully) systemd-based thing in the future. Thanks! |
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
|
Thanks for reviewing and testing this, @rpardini ! Yeah, I tried to find a way to slim it down but couldn't find anything that worked. With the new Tink Agent supporting containerd we can move to that and get rid of Docker entirely from Hook. That should get us back all the space and more. |
Description
This gets us persistent network interface naming.
@rpardini , you did a bunch of work creating
images/hook-mdev/persistent-storage.sh, when/if you have some cycles, would you mind checking this out and verifying if you see the same functionality?Why is this needed
Fixes: #
How Has This Been Tested?
How are existing users impacted? What migration steps/scripts do we need?
Checklist:
I have: