When setting the hostname from $SET_HOSTNAME, replace any characters not allowed in hostnames (as specified in RFC 952) with a hyphen. This is enables a VM template to safely use the VM's name as the hostname (by setting the context variable SET_HOSTNAME=$NAME).pull/28/head
parent
bbcadaa59d
commit
1c335c690b
Loading…
Reference in new issue