Network update ignores interface name

HA OS v5.2 (if does matter)
I’m trying to change network interface settings from dhcp to static:

being in ha cli:

> network update eth0 -m static -a 192.168.107.5/24 -g 192.168.107.1 -d 192.168.107.1 -d 8.8.8.8
Error: Interface {interface} does not exist

It seems that eth0 given in arguments is not passed properly to the command. Of course eth0 interface does exist too.

Same problem with v5.3. Using network info I see an interface enp0s3 listed. I try to update this interface and the cli states that “Error: Interface {interface} does not exist”

Probably because you are in the home assistant container and not the host system. See here for how to access the host system: