Trim white spaces from input for Instance name
During provision user can name his instance as he wants, from time to time it happens that users do copy->paste and leaves whitespace in front of instance name. This causes errors as Cloud-Init do not process it properly then. So maybe it would be good idea to make some “Trim” operations on Instance name and Hostname fields automatically.
Try to provision instance with a “space” in front of instance name.