beadyallen,
I have targets that needs to run exactly the same distro but a few directories like /var /root /home needs to be different. So what I originally did was I had the distro at:
Code:
/tftpboot/images/distro
then i soft linked the whole distro to it:
Code:
/target1/distro/boot -> /tftpboot/images/boot
/target1/distro/etc -> /tftpboot/images/etc
/root
etc.
Now I know it doesn't work... mounted by nfs doesn't allow to have symlinks on top level. But what I'm doing now that works is:
in my /tftpboot/images/distro i have copies of root like:
Code:
/root_target1
/root_target2
...
/root -> root_target1
The thing is that the complete distro is 1.7G and I don't want to copy it for each target.
Then when it is tested on one distro, I need to do try another distro for exact same procedure. Instead of me re-writing the dhcpd.conf or kernel parameters all the time when I'm jumping between distros, I was hoping I could do this by simple environment variable or something
Indy