Skip to contentSkip to conversation

IP and hostname for domU

DISCUSSION jdsw 2 participants 2 messages Nov 15, 2006 – Nov 16, 2006

lore
Share & tools
lore

jdsw

author
#0 lore raw

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.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

I strongly dislike the {ip, dhcp, root*} options. They map to Linux kernel options. If someone wants to do that in the configuration instead of a bootloader configuration, I think the should use the ill-named 'extra' option, which is appended to the kernel command line. This is for paravirtualized linux domU's.

Would be best if ip configuration is done in userspace of the guest unless someone would ordinarily do this with kernel options and doesn't want to use a bootloader.

Sorry, I'm a bit sore on this :-)

Peace.
Andrew

Quoted 41 lines · jdsw

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.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel