The autoyast schema currently lacks the file_location element and thus my profile fails to validate (despite working properly). I've fixed this in my "simple_files_fix" branch on github[1].
I've also made a "files_cleanup" branch that enforces what I think autoyast expects (open to correction, of course):
* there should only be file_content or file_location, not both
* file_path should be mandatory
* everything else (file_owner, file_permissions, file_script) is optional but should only occur once per file
* all of the file_* elements can occur in any order within the <file> tag
Which brings me to a point of confusion: my profile, which I based on a previous version of the AutoYaST documentation, uses <file> rather than , e.g.:
<files config:type="list">
<file>
http://blah.blah/foo
/foo/bar
</file>
...
</files>
However, the current documentation[2] uses instead of <file>. My profile works correctly in both SLES 11 SP1 & SP2 and openSUSE 12.1, and the schema expects <file>, so this appears correct, but I hesitate to call the documentation wrong without further input. Whichever way is correct, everything should be reconciled.
BTW, it's great that YaST on github now -- it makes fixes like this a lot easier!
Uwe (or others), please let me know how you wish to proceed, and I'll file a github pull request and/or a BugZilla entry.
Thanks,
Andrew Daugherity
Systems Analyst
Division of Research, Texas A&M University
[1] https://github.com/adaugherity/yast-autoinstallation/branches
[2] http://www.suse.de/~ug/autoyast_doc/configuration.html#createprofile.complet...
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org