I'm not sure if we run any inference endpoints on Ubuntu 22.02, but if we do, this code wouldn't work with them.