I've ended up writing a service that runs after netif is complete and sets the
hostname based on the MAC address and also updates /etc/hosts. It does what I
need...
Thanks for all the replies on this...
___
freebsd-questions@freebsd.org mailing list
h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/03/2010 11:57:56, Peter Steele wrote:
>> Thinking about this some more, a good trick would be to generate a
>> hostname from the MAC address of the host, since that is guaranteed
>> to be unique.
>
> In fact, this is what we are currently using.
>Thinking about this some more, a good trick would be to generate a hostname
>from the MAC address of the host, since that is guaranteed to be unique.
In fact, this is what we are currently using. Unfortunately I guess I wasn't
entirely clear. I was looking for a facility that actually *assigns*
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/03/2010 08:32:31, Matthew Seaman wrote:
> On 17/03/2010 22:06:30, Peter Steele wrote:
>> Is there any facility in FreeBSD for generating a random hostname? We
>> have a template with a fixed hostname that has to be changed after
>> the template i
> Is there any facility in FreeBSD for generating a random hostname? We
> have a template with a fixed hostname that has to be changed after
> the template is closed. It would be useful to have a hostname
I have somewhere a Perl script that can be used/adapted to generate
pseudo English words.
Yo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 17/03/2010 22:06:30, Peter Steele wrote:
> Is there any facility in FreeBSD for generating a random hostname? We
> have a template with a fixed hostname that has to be changed after
> the template is closed. It would be useful to have a hostname
> g
On Mar 17, 2010, at 3:50 PM, Roland Smith wrote:
> openssl rand -base64 18| sed 's|[^[:alpha:]]||g'
That works very well. My first run included an impressive anglo-saxon
observation. To diminish agitating the night shift, I suppose you could
filter out all the vowels.
Peter, emailing from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Steele wrote:
> Is there any facility in FreeBSD for generating a random hostname? We have a
> template with a fixed hostname that has to be changed after the template is
> closed. It would be useful to have a hostname generated randomly.
>
H
On Wed, Mar 17, 2010 at 05:06:30PM -0500, Peter Steele wrote:
> Is there any facility in FreeBSD for generating a random hostname? We have a
> template with a fixed hostname that has to be changed after the template is
> closed. It would be useful to have a hostname generated randomly.
For random
On 17/03/10 23:06, Peter Steele wrote:
Is there any facility in FreeBSD for generating a random hostname? We have a
template with a fixed hostname that has to be changed after the template is
closed. It would be useful to have a hostname generated randomly.
uuidgen may do the job for you,
BR
On 17/03/10 23:06, Peter Steele wrote:
Is there any facility in FreeBSD for generating a random hostname? We have a
template with a fixed hostname that has to be changed after the template is
closed. It would be useful to have a hostname generated randomly.
uuidgen?
this command may be used
11 matches
Mail list logo