From: jdsw Subject: IP and hostname for domU Date: Tue, 14 Nov 2006 16:48:28 -0800 (PST) Message-ID: <20061115004828.89685.qmail@web35815.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1382398607==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xendevel List-Id: xen-devel@lists.xenproject.org --===============1382398607== Content-Type: multipart/alternative; boundary="0-725446410-1163551708=:89519" Content-Transfer-Encoding: 8bit --0-725446410-1163551708=:89519 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Forwarding to devel list. (changed the wordings bit) The xmexample1 seems to contain hostname= "vm%d" % vmid Does this work with HVM ? I tried setting hostname=foo for my HVM based FC5 Linux domU. It does not seem to work. Also, is there a way to set IP address for a Linux HVM DomU ? I have seen somewhere (not in xen example) vif = [ 'ip=192.168.1.12' ] How do both these work ? (if they are supposed to work ) Are some scripts run after DomU is instantiated ? OR are passed as kernel params ? Thanks /Jd ps. anyone using these params, can u please send me output of cat /proc/cmdline from DomU --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. --0-725446410-1163551708=:89519 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Forwarding to devel list.
(changed the wordings bit)

The xmexample1 seems to contain

hostname= "vm%d" % vmid

Does this work with HVM ? I tried setting hostname=foo for my HVM based FC5 Linux domU. It does not seem to work.

Also, is there a way to set IP address for a Linux HVM DomU ?
I have seen somewhere (not in xen example)
  vif = [ 'ip=192.168.1.12' ]

How do both these work ? (if they are supposed to work )
Are some scripts run after DomU is instantiated ? OR are passed as kernel params ?

Thanks
/Jd
ps. anyone using these params, can u please send me output of
   cat /proc/cmdline
from DomU



Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.


Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. --0-725446410-1163551708=:89519-- --===============1382398607== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1382398607==--