]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set a default hostname for virtual machine images.
authorgjb <gjb@FreeBSD.org>
Mon, 30 Oct 2017 13:54:54 +0000 (13:54 +0000)
committergjb <gjb@FreeBSD.org>
Mon, 30 Oct 2017 13:54:54 +0000 (13:54 +0000)
commite2b3cfc07c8e68804faaafea2ae242d6c2633573
tree57dd4342689a84ebcae69460d714f113ae288bdd
parent6b23b8248ca01fa7640a3fc9ac72a724f0787132
Set a default hostname for virtual machine images.

A recent bug in security/sudo causes segmentation faults when
the system is not configured with a hostname, which causes issues
with some virtual machine setups, notably Vagrant.  Set the default
hostname to the output of 'uname -o'.

Submitted by: Nicholas Fiorentini
Sponsored by: The FreeBSD Foundation
release/tools/vmimage.subr