NEMS 1.5 - static IP with NetworkManager & cockpit

If you would like to set up a static IP for NEMS 1.5 (should also work for 1.4.x) the following steps might help you.
Additionally, the last command installs the interface for Cockpit to NetworkManager, enabling IP changes via the Cockpit-Webinterface.

ssh into into your NEMS machine and execute the following:
(BOLD for returns)

Just a heads up: cockpit-networkmanager was introduced in NEMS Linux 1.5 Build 7 for Raspberry Pi.

So just for future forum visitors, note that any NEMS Linux builds after March 16, 2019 already include this, pre-configured out of the box (a bit differently than described above), so these steps posted above only apply to older builds.