Re: Hostname problem on a VM
Sam Przyswa <[email protected]> Wed, 2 Jun 2021 16:46:25 +0200
| Newsgroups | gmane.linux.vserver |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------2F0E0AFF7EA79F71A4FA22ED
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Hi,
I solved the problem, we need to modify:
"/etc/vservers/<hostname>/uts/nodename" to set the right hostname.
Sam.
Le 01/06/2021 à 16:07, Sam Przyswa a écrit :
>
> Hi,
>
> On one of the VMs on the same host it takes the name of the host
> machine (soleil) while the hostname is "vserver" and nowhere in the
> configuration of the machine the name "soleil" is specified, where can
> come the problem?
>
> Thanks for your help.
>
> Sam.
>
>
--------------2F0E0AFF7EA79F71A4FA22ED
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I solved the problem, we need to modify:</p>
<p>"/etc/vservers/<hostname>/uts/nodename" to set the right
hostname.</p>
<p>Sam.</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 01/06/2021 à 16:07, Sam Przyswa a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi,</p>
<p>On one of the VMs on the same host it takes the name of the
host machine (soleil) while the hostname is "vserver" and
nowhere in the configuration of the machine the name "soleil" is
specified, where can come the problem?</p>
<p>Thanks for your help.</p>
<p>Sam.</p>
<p><br>
</p>
</blockquote>
</body>
</html>
--------------2F0E0AFF7EA79F71A4FA22ED--