[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] changing settings


  • To: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Anand <xen.mails@xxxxxxxxx>
  • Date: Fri, 6 Jan 2006 02:28:21 +0530
  • Delivery-date: Thu, 05 Jan 2006 21:03:56 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=tdBqCvl/7IQihl6G3xLwy6AU6WaUnC8tT7uBoHkOWjYPNXn/tdmBaZPDumtac/wCZmvBZtzg5y9yuAx6dYMln2kIHyQftCzuBpxpFZpvZwRt1Qs13mky+0xaTK5S4vC8KB/Vk9f61X8r9CNSpZHlcytpJ3+MF3+0zAaNbd6KHQI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

This could be considered offlist but i couldn't think of anywhere else to ask this question.

I took a centos image from http://jailtime.org/ for xen, and mounted it using loop back interface.

mount -o loop centos.img /mnt/disk

Now i did a chroot to /mnt/disk and executed hostname -v xyz.test.com and exited from it.

The hostname changed inside the image, however it also changed for the host machine. I am confused here, after doing a chroot, shouldn't the hostname change only inside the chrooted image ? and not on the host machine ? Any help would be appreciated.

--

regards,

Anand
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.