view docs/man/man8/fjail-hostid.rst @ 649:4ee9a8042f4a

common.subr: _get_jail_from_path() now just returns when the jail is dying. But it prints the name of the jail if it is yet dying. Real error reporting must not consistently be done in the caller.
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 27 Sep 2024 21:21:34 +0200
parents db04f195db32
children
line wrap: on
line source

.. -*- coding: utf-8; indent-tabs-mode: nil; -*-

fjail-hostid
============

Synopsis
--------

**fjail hostid**


Description
-----------

Generate a proposal for a new BSD host UUID and ID and print it to stdout.

The output is suitable for inclusion in a :file:`/etc/jail.conf`.


Examples
--------

::

   # fjail hostid
   Proposed hostuuid/hostid:
     host.hostuuid = "868be13d-6fc0-11ed-827f-74d435fd3892";
     host.hostid = 582606249;
   #


See Also
--------

:manpage:`fjail(8)`, :manpage:`ftjail(8)`