Invoking autoyast from custom media based on 13.2 fails

Jeromy Smith <[email protected]> Thu, 6 Nov 2014 11:08:06 -0600
Newsgroups gmane.linux.suse.autoinstall
Message-ID <CAJUGTWf7XaZY-Kv0HvRsxruigovxK8yRbDrmFNvjh2_uNP3yEg@mail.gmail.com>
If I invoke the autoyast process by specifying autoyast=file:/// the
installer cannot find the profile.  Invoking via FTP works as
expected.

I turned on y2debug and I think this is where I start getting problems:

2014-11-06 10:54:44 <1> 172.16.4.62(3217) [agent-system]
SystemAgent.cc(Execute):1156 mkdir /tmp/YaST2-03217-jSwd2L/rules
2014-11-06 10:54:44 <1> 172.16.4.62(3217) [Ruby] autoinstall/io.rb:71
Scheme:file Host: Path://rules/rules.xml
Localfile:/tmp/YaST2-03217-jSwd2L/rules/rules.xml
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:346
URL::Build(): input: $["fragment":"", "host":"", "pass":"",
"path":"/rules/rules.xml", "port":"", "query":"", "scheme":"file",
"user":""]
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:356 url: file
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:378 url: file://
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:387 url: file://
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:393 url: file://
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:430
url: file:///rules/rules.xml
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:462
url: file:///rules/rules.xml
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:176
url=file:///rules/rules.xml
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:196
rawtokens=["file://", "file", "", "/rules/rules.xml", "", "", "", ""]
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:231 userpass=[]
2014-11-06 10:54:44 <1> 172.16.4.62(3217) [Ruby] modules/URL.rb:236
Index 1 is out of array size
2014-11-06 10:54:44 <1> 172.16.4.62(3217) [Ruby] modules/URL.rb:241
Index 3 is out of array size
2014-11-06 10:54:44 <1> 172.16.4.62(3217) [Ruby] modules/URL.rb:243
Index 7 is out of array size
2014-11-06 10:54:44 <1> 172.16.4.62(3217) [Ruby] modules/URL.rb:245
Index 5 is out of array size
2014-11-06 10:54:44 <1> 172.16.4.62(3217) [Ruby] modules/URL.rb:248
Index 7 is out of array size
2014-11-06 10:54:44 <1> 172.16.4.62(3217) [Ruby] modules/URL.rb:253
Index 0 is out of array size
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:255 hostport6:
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:282
tokens=$["fragment":"", "host":"", "pass":"",
"path":"/rules/rules.xml", "port":"", "query":"", "scheme":"file",
"user":""]
2014-11-06 10:54:44 <0> 172.16.4.62(3217) [Ruby] modules/URL.rb:300
tokens: $["fragment":"", "host":"", "pass":"",
"path":"/rules/rules.xml", "port":"", "query":"", "scheme":"file",
"user":""]

It looks like since userpass is empty it fails.

This worked in 13.1.

Jeromy
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]