--- Begin Message ---
Can someone please take a look at this patch? It's a minor change that will
allow proxmox to set hostname on NixOS LXCs.
On Fri, 18 Mar 2022 at 15:51, Harikrishnan R <rharikrishna...@gmail.com>
wrote:
> 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