clearlinux / micro-config-drive

An alternative and small cloud-init implementation in C
Other
46 stars 17 forks source link

Add "hostname" directive #1

Closed sofar closed 8 years ago

sofar commented 9 years ago

hostname: [name:string]

writes 'name' to /etc/hostname, calls hostname name to set it. This option is supported by the CoreOS version. The reference implementation uses "set_hostname" but that's not as clear or logical.

devimc commented 9 years ago

fixed using hostnamectl set-hostname e304dde92df329e93e7093a18dac62308fad6dad

sofar commented 9 years ago

We should also have one for cloud-config data as well, not just openstack json metadata.

devimc commented 8 years ago

fixed commit 0be3c8ebf501eeee2ad120fbbf308739fe923c31