]> glassweightruler.freedombox.rocks Git - waydroid.git/commit
net: Fix vnic name selection for LXC <=2
authorJami Kettunen <jami.kettunen@protonmail.com>
Wed, 7 Dec 2022 20:40:42 +0000 (22:40 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Wed, 7 Dec 2022 21:05:36 +0000 (22:05 +0100)
commit061a9fb06c0dc6f8c7f39d3e78a35e8d22ad7770
treec99e7aaa84243fab56d5a389cb4412336612b720
parent527f073e4ad4a7a31553493310db7459eaf8a751
net: Fix vnic name selection for LXC <=2

The "default to waydroid0" was broken as awk never returned a non-zero
exit code if the file exists but no match was found. Also account for
the key being named lxc.network.link on older LXC versions so one still
has the ability to have a flexible Waydroid network configuration.
data/scripts/waydroid-net.sh