You are not logged in.

#1 2014-05-28 14:13:38

ould
Member
Registered: 2007-05-22
Posts: 124

Diskless booting with multiple clients using same image?

I am thinking about creating a PXE server to serve out XBMC on Arch to multiple clients, 2 for now, maybe one or two more at a later time. I am good with the network booting aspect as I did have something similar setup once before but I had a separate "image" setup for each machine, this can get a little tedious though. This time around I was trying to figure out a way for multiple machines to use the same image but also to be able to have different configs. I know I can use tmpfs for things like log files etc. But how do I go about setting a unique hostname for each machine, separate home folders etc. I am kind of stuck and I am sure there are other things I am forgetting that need to be separated for each machine. :-)

Could the hostname be setup at boot based on the mac address i.e. if mac is 00:01:02:03:04:05 then set hostname "foo1" elif mac is 05:04:03:02:01:00 then set hostname to "foo2"

I guess for separate home folders I could have a different user login to each machine? Or is there a way to mount a different home folder depending on which machine is being used, again I suppose the mac address could be used for this as well?

Anything else I am forgetting or if there are better ways to do what I am looking for would be greatly appreciated.

Thanks,

Kevin

Offline

#2 2014-05-28 22:10:02

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,418

Re: Diskless booting with multiple clients using same image?

With stateless diskless booting using Arch's kernel, you can boot multiple clients for the same PXE installation.  It works the same as a normal kernel (running from PXE installation), but everything else is pretty much the same.

Last edited by nomorewindows (2014-05-28 22:10:39)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB