[opensuse-autoinstall] SLES10 asking value for nameserver
Hi all, I'm having some problems with autoyast on SuSE SLES 10. I want to ask values for network configuration to the user. It works for all values (domain, IP address, network mask and gateway) but nameserver. I've tried using "<path>" or "<file>" tags in autoinst.xml: - With "<path>" the /etc/resolv.conf file contains only one line for domain, and none for nameserver. <ask> <path>networking,dns,nameservers,nameserver</path> <title>Nameserver</title> <question>Enter IP address</question> <stage>initial</stage> <default>192.168.1.11</default> </ask> - With "<file>", "/tmp/nameserver_address.tmp" is always empty. <ask> <file>/tmp/nameserver.tmp</file> <title>Nameserver</title> <question>Enter IP address</question> <stage>initial</stage> <default>192.168.1.11</default> </ask> Any idea about what's wrong? Thanks in advance, Carlos -- Carlos Temes Casas Allenta Consulting carlos@allenta.com www.allenta.com -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thursday 22 February 2007 14:55, Carlos Temes wrote:
I'm having some problems with autoyast on SuSE SLES 10. I want to ask values for network configuration to the user. It works for all values (domain, IP address, network mask and gateway) but nameserver.
I've tried using "<path>" or "<file>" tags in autoinst.xml:
nice. The "path" version triggers a bug in autoyast. Thanks, I'll fix that for SP1 and 10.3
- With "<file>", "/tmp/nameserver_address.tmp" is always empty.
that works fine here. The file has a size of 0 bytes but is there? Here it contains the answer to the question. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug now playing Combichrist - Blut royale -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Feb/22, Uwe Gansert wrote:
- With "<file>", "/tmp/nameserver_address.tmp" is always empty.
that works fine here. The file has a size of 0 bytes but is there? Here it contains the answer to the question.
The file exists but with 0 size, shouldn't it contain the value introduced in the input dialog? Thanks, Carlos -- Carlos Temes Casas Allenta Consulting carlos@allenta.com www.allenta.com -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thursday 22 February 2007 16:42, Carlos Temes wrote:
The file exists but with 0 size, shouldn't it contain the value introduced in the input dialog?
yes and that's what happens here. The file exists and contains the answer. can you send me your /var/log/YaST2/y2log file after you have answered the question? (the y2log with the profile that contains <file> and not <path>). -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug now playing Diorama - Klarheit -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Carlos Temes
-
Uwe Gansert