all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH container 0/1] Set hostname to meta-data (nocloud method)
@ 2021-09-10 18:33 Serge Logvinov
  2021-09-10 18:33 ` [pve-devel] [PATCH container 1/1] feat: set hostname to meta Serge Logvinov
  0 siblings, 1 reply; 3+ messages in thread
From: Serge Logvinov @ 2021-09-10 18:33 UTC (permalink / raw)
  To: pve-devel; +Cc: Serge Logvinov

*** BLURB HERE ***

Serge Logvinov (1):
  feat: set hostname to meta

  Add hostname property in meta-data (nocloud method).
  Now only user-data has hostname of VM. If you redifine user-data, you lost the hostname.

  Example meta-data here https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html#datasource-nocloud

  ---
  instance-id: iid-abcdefg
  network-interfaces: |
    iface eth0 inet static
    address 192.168.1.10
    network 192.168.1.0
    netmask 255.255.255.0
    broadcast 192.168.1.255
    gateway 192.168.1.254
  hostname: myhost
  ---

 PVE/QemuServer/Cloudinit.pm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

--
2.24.3 (Apple Git-128)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-13  8:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10 18:33 [pve-devel] [PATCH container 0/1] Set hostname to meta-data (nocloud method) Serge Logvinov
2021-09-10 18:33 ` [pve-devel] [PATCH container 1/1] feat: set hostname to meta Serge Logvinov
2021-09-13  8:03   ` Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal