Ability to set a VM hostname during the provisioning
- Dominant language
- Go
- Stars
- 21.9k
- Forks
- 957
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 53
Description
### Description
As I see a VM hostname is hardcoded to `lima-` in the `cidata.TEMPLATE.d/meta-data`. That causes some inconvenience in a complex scenarios when multiple VMs are clustered because internal hostname doesn't match the name used to refer a VM from outside.
I can work this around by calling the `hostnamectl set-hostname {{.Name}}` in a provisioning script but this might cause some issues with services started before.. so ideally reboot is required to be on a safe side.
So it'd be much nicer to either a) set the hostname to the VM name by default or b) to be able to configure the hostname in the VM YAML definition or c) to be able to set it via cmdline flag of `limactl start` command.
Contributor guide
Assessment
This issue has not been assessed yet.