Feature 1:
On openSUSE 11.2, if you add a "/" at the end of a filename in the <files> section, AutoYaST will create a directory:
<files config:type="list">
<config_file>
<file_path>/myData/</file_path>
<file_permissions>644</file_permissions>
</config_file>
...
</files>
Maybe nothing which makes the crowd go wild but might be useful from time to time and saves you from writing a script just for that.
Feature 2:
That's a bit more impressive than the first. If you use a "/" at the beginning of a <package> or <pattern>, you tell AutoYaST to interpret it as a regular expression like this:
<software>
<patterns config:type="list">
<pattern>/.*_server</pattern>
</patterns>
<packages config:type="list">
<pattern>/kde4.*</pattern>·
</packages>
</software>
Beware of using <package>/.*</package> because that will select every package and some of them conflict.
happy slashing ;) - Uwe
5 comments:
Hi Uwe,
good news! can take advantage of this one immediately! any chance that one can give a file_group as well?
yes, try
<file_owner>uwe.users</file_owner>
cool, thanx!
it seems that files are downloaded and dirs are created before users are added. hence it is not possible to take advantage of the file_owner option (other that root ;-(
regards, alex
that should not happen and would be a bug. i'll check that ...
Post a Comment