[9fans] Namespace customization

2014-04-23 Thread Carlos Sánchez de La Lama
Hi all, I am trying to put some customizations to the default namespace on a cpu server with 2 nics. But I am having some problems: If i put bind -a #l1 /net.alt bind -a #I1 /net.alt on /lib/namespace, it works ok. But if I put the same two lines in /cfg/$sysname/namespace (which gets executed

Re: [9fans] Namespace customization

2014-04-23 Thread Carlos Sánchez de La Lama
I found the answer just after posting :S > Is there a way to have $sysname available at that point? Setting sysname in plan9.ini (or in this case in pxe/ as I am netbooting) does the trick :) Carlos

Re: [9fans] Namespace customization

2014-04-24 Thread Carlos Sánchez de La Lama
Hi Nick, > in my cpu server in a vm, i put the nic setup in /cfg/$sysname/cpustart > and put the namespace setup in /lib/namespace.$sysname. That is quite similar to what I was trying to do (almost exactly the same, thought I was putting namespace setup in /cfg/$sysname/namespace; both that and /