Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2023 20:06:27 GMT
From:      Ceri Davies <ceri@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5b3f109816fa - main - man5/rc.conf.5: document hostid and machine-id related variables
Message-ID:  <202303092006.329K6RJF079449@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ceri:

URL: https://cgit.FreeBSD.org/src/commit/?id=5b3f109816faa0396e507777d31ce7b831ae6ba7

commit 5b3f109816faa0396e507777d31ce7b831ae6ba7
Author:     Ceri Davies <ceri@FreeBSD.org>
AuthorDate: 2023-03-09 20:05:52 +0000
Commit:     Ceri Davies <ceri@FreeBSD.org>
CommitDate: 2023-03-09 20:05:52 +0000

    man5/rc.conf.5: document hostid and machine-id related variables
---
 share/man/man5/rc.conf.5 | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 7d1cdfc61966..055f97668375 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 28, 2023
+.Dd March 9, 2023
 .Dt RC.CONF 5
 .Os
 .Sh NAME
@@ -535,6 +535,36 @@ your console login will display the default hostname of
 The NIS domain name of this host, or
 .Dq Li NO
 if NIS is not used.
+.It Va hostid_enable
+.Pq Vt bool
+If set to
+.Dq Li NO ,
+disable the generation or saving of the
+.Pa hostid
+and
+.Pa machine-id
+files at system boot and shutdown.
+.It Va hostid_file
+.Pq Vt str
+Path to the
+.Pa hostid
+file, default
+.Pa /etc/hostid .
+.It Va hostid_uuidgen_flags
+.Pq Vt str
+Flags passed to
+.Xr uuidgen 1
+when generating a software host UUID.
+This is used only if the system cannot determine a hardware UUID.
+Set to
+.Dq Li -r
+by default.
+.It Va machine_id_file
+.Pq Vt str
+Path to the
+.Pa machine-id
+file, default
+.Pa /etc/machine-id .
 .It Va dhclient_program
 .Pq Vt str
 Path to the DHCP client program
@@ -4906,6 +4936,7 @@ these are the flags to pass to the
 .Xr protect 1 ,
 .Xr sh 1 ,
 .Xr umask 1 ,
+.Xr uuidgen 1 ,
 .Xr vi 1 ,
 .Xr vidcontrol 1 ,
 .Xr bridge 4 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303092006.329K6RJF079449>