OpenMediaVault 7 Hostname hinzufügen

Die Konfiguration des Systems erfolgt über eine Salt-Stack Konfiguration.

/srv/salt/omv/deploy/hosts/20docker.sls

configure_hosts_extras:
file.append:
– name: „/etc/hosts“
– text: |
#docker /srv/salt/omv/deploy/hosts/20docker.sls
192.168.1.2 docker

Die Hosts Konfiguration neu ausrollen:

omv-salt deploy run hosts