From: Serge Logvinov <serge.logvinov@gmail.com>
To: pve-devel@lists.proxmox.com
Cc: Serge Logvinov <serge.logvinov@sinextra.dev>
Subject: [pve-devel] [PATCH container 0/1] Set hostname to meta-data (nocloud method)
Date: Fri, 10 Sep 2021 21:33:42 +0300 [thread overview]
Message-ID: <20210910183343.69805-1-serge.logvinov@sinextra.dev> (raw)
*** 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)
next reply other threads:[~2021-09-10 18:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-10 18:33 Serge Logvinov [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210910183343.69805-1-serge.logvinov@sinextra.dev \
--to=serge.logvinov@gmail.com \
--cc=pve-devel@lists.proxmox.com \
--cc=serge.logvinov@sinextra.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.