Trim white spaces in Instance name

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.

Example/Use case(s):
Try to provision instance with a “space” in front of instance name.

1 Like

There is a community-led plugin project which includes functionality to do this. It’s tested on Morpheus 6.1.0 and up. I don’t know what version you have, but maybe it will help: