--- Begin Message ---
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 <rharikrishna...@gmail.com>
---
 src/PVE/LXC/Setup/NixOS.pm | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/PVE/LXC/Setup/NixOS.pm b/src/PVE/LXC/Setup/NixOS.pm
index 905ca8c..845d2d5 100644
--- a/src/PVE/LXC/Setup/NixOS.pm
+++ b/src/PVE/LXC/Setup/NixOS.pm
@@ -29,10 +29,6 @@ sub setup_network {
     $self->setup_systemd_networkd($conf);
 }
 
-sub set_hostname {
-    my ($self, $conf) = @_;
-}
-
 sub set_timezone {
     my ($self, $conf) = @_;
 }
-- 
2.35.1



--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to