Bug#390447: also run task confdir with dirinstall

2006-10-02 Thread Thomas Lange

Variables from *.var are defined for dirinst since task_defvar is
called before task_dirinst. Have a look at
http://www.informatik.uni-koeln.de/fai/download/dirinst-log/fai.log

-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#390447: also run task confdir with dirinstall

2006-10-02 Thread Henning Sprang
Thomas Lange wrote:
 Variables from *.var are defined for dirinst since task_defvar is
 called before task_dirinst. Have a look at
 http://www.informatik.uni-koeln.de/fai/download/dirinst-log/fai.log
 

Hmm. Probably I mixed that with the hostname problem (so, HOSTNAME.var
wasn't executed, as well as CLASSNAME.var for classes that i usually
define in a class/HOSTNAME file when doing netinstalls.

To be real usable(that means, give a usability plus over installing xen
via network as usual), a way is needed so I can give a single word (for
example the hostname) to define all classes instead of listing all of
them manually. (which can be a lot for more compley setups).
I saw fai already evaluates the variable HOST, so only the classes need
to be defined somehow by hostname.

I tried setting the FAI_CLASSES in a .var file, but that seemed not to work.


Henning





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#390447: also run task confdir with dirinstall

2006-10-02 Thread Thomas Lange
 On Mon, 02 Oct 2006 14:32:52 +0200, Henning Sprang [EMAIL PROTECTED] 
 said:

 Hmm. Probably I mixed that with the hostname problem (so, HOSTNAME.var
 wasn't executed, as well as CLASSNAME.var for classes that i usually
 define in a class/HOSTNAME file when doing netinstalls.
If you mixed this up, please close this bug.

I think adding a -h hostname option is an good idea. But we have a
sparate wishlist bug for this.

-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#390447: also run task confdir with dirinstall

2006-10-02 Thread Henning Sprang
Thomas Lange wrote:
 If you mixed this up, please close this bug.

Hmm, but this bug is not only about evaluating the var files. It's also
about making dirinstall conveniently usable - more explanations below.

 I think adding a -h hostname option is an good idea. 
 But we have a
 sparate wishlist bug for this.

Actually, these bugs belong together. The HOST env Variable is already
evaluated in FAI ( I didn't test that thoroughly, but the sourcecode
look like this), but without the confdir being parsed, the things I
wanted to do as described in 390367 aren't possible.

When only .var's are evaluated, but not class/50-host-classes and
class/HOSTNAME people always have to give long lists of classes with
-c. And that's complicated.

Or is there another solution for this which I oversee ATM?

Henning


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#390447: also run task confdir with dirinstall

2006-10-01 Thread Henning Sprang

Package: fai-client
Version: 3.0
Severity: Normal

At least the variable expansion from .var files should be run. Many
people depend on it, and fai is much different to use otherwise.

This is a bit connected to using a hostname parameter in dirinst,
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390367) because
without running confdir at all, the hostname directive is not so much
useful ( at least as inteded in the other bugreport).


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]