Re: Assign IP address and hostname via kernel parameter

2009-06-08 Thread Mister Olli
Hi, thanks for the hint, this brought me to a (IMHO) good way to accomplish this. When using FreeBSD as domU and configuring the kernel in the domU config file (rather than using pygrub) it's possible to append kernel parameters, by defining them in the variable 'extras' within the domU config

Re: Assign IP address and hostname via kernel parameter

2009-05-11 Thread Mister Olli
Hi, I had a short look on google for this parameters, and from my understanding the NFS diskless client is using the informations out of it to set the appropriate settings on the network interface. So no luck when supplying them as kernel parameters. Oh and btw I'm not sure how to setup kernel

Assign IP address and hostname via kernel parameter

2009-05-06 Thread Mister Olli
Hi, is there a way to configure IP address and hostname on freebsd systems via kernel command line parameters? I have some freebsd systems in as xen domU's and it would be really great to be able to set the ip address hostname within the configuration file for the domU. I'm aware that I could

Re: Assign IP address and hostname via kernel parameter

2009-05-06 Thread jt
Hi, I would take a look at sysctl this system takes care of kernel parameters. There are a few man pages that delineate what is read only. I'm sure you are aware of setting the hostname at boot time. It seemed like you were more curious about on the fly. I'm not familiar with xen domU's

Re: Assign IP address and hostname via kernel parameter

2009-05-06 Thread Bob Bishop
Hi, On 6 May 2009, at 16:20, Mister Olli wrote: is there a way to configure IP address and hostname on freebsd systems via kernel command line parameters? [etc] When running diskless, the loader sets kernel variables like: boot.netif.gateway=192.168.198.1 boot.netif.hwaddr=00:15:17:47:14:fc