Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only allow setting custom hostname if running as root
This is match access level to `/etc/hostname` of `0644`. If only root can change system hostname, then only root should be able to change the hostname of the inventory that is used to enroll in the configuration management system.
- Loading branch information