Setting the hostname on an OpenOS system is nearly impossible, in fact, attempting to set a hostname can cause the shell to crash or the system to no longer boot many times for as of yet unknown reasons, i suggest re-implementing the current code to set the hostname (if any exists at all?) and having the hostname be able to be set with just a simple echo "hostname" > /etc/hostname I would suggest performing the setting of the hostname in /etc/profile.lua
Setting the hostname on an OpenOS system is nearly impossible, in fact, attempting to set a hostname can cause the shell to crash or the system to no longer boot many times for as of yet unknown reasons, i suggest re-implementing the current code to set the hostname (if any exists at all?) and having the hostname be able to be set with just a simple echo "hostname" > /etc/hostname I would suggest performing the setting of the hostname in /etc/profile.lua