]> git.proxmox.com Git - pve-container.git/commit
Setup: Allow hostname configuration on NixOS
authorHarikrishnan R via pve-devel <pve-devel@lists.proxmox.com>
Fri, 18 Mar 2022 10:21:13 +0000 (15:51 +0530)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Apr 2022 12:28:17 +0000 (14:28 +0200)
commit4b983744d0ce44661f707f790a17a483caeb393d
tree491b807bd005a60002b2405fce78751f3abc1650
parentb9e2543535268ef6c5c0d43fd5e8828bebed79be
Setup: Allow hostname configuration on NixOS

While NixOS generally overrides any static contents in /etc/hostname
with the hostname defined in `networking.hostname`, it can use the
contents of `/etc/hostname` provided by PVE if this option is not
set.

Signed-off-by: Harikrishnan R <rharikrishnan95@gmail.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup/NixOS.pm