lang: core: embedded: provisioner: Handoff a hostname

This makes it easier to run config tools if the hostname is already set.
This commit is contained in:
James Shubin
2025-01-17 19:48:23 -05:00
parent a60148f370
commit 4a578ca40c
4 changed files with 11 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ sshkey --username {{ $user }} "{{ $pubkey }}"
# --activate
# any matching devices beyond the first will also be activated
#
network --bootproto=dhcp --device=link --activate
network --bootproto=dhcp --device=link --activate{{ if .hostname }} --hostname={{ .hostname }}{{ end }}
firewall --enabled --service=mdns