Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
autoyast [2011/06/05 15:50] admin |
autoyast [2011/10/10 23:41] (aktuell) admin |
||
---|---|---|---|
Zeile 2: | Zeile 2: | ||
[[http://cn.opensuse.org/AutoYaST|AutoYaST - openSUSE]] \\ | [[http://cn.opensuse.org/AutoYaST|AutoYaST - openSUSE]] \\ | ||
+ | {{autoyast_workflow.jpg?300|Workflow}} \\ | ||
[[http://doc.opensuse.org/projects/YaST/openSUSE11.3/autoinstall/index.html|AutoYaST]] \\ | [[http://doc.opensuse.org/projects/YaST/openSUSE11.3/autoinstall/index.html|AutoYaST]] \\ | ||
[[http://doc.opensuse.org/projects/YaST/openSUSE11.3/autoinstall/createprofile.scripts.html|4.16. Custom user scripts]] \\ | [[http://doc.opensuse.org/projects/YaST/openSUSE11.3/autoinstall/createprofile.scripts.html|4.16. Custom user scripts]] \\ | ||
Zeile 42: | Zeile 43: | ||
autoyast=default | autoyast=default | ||
- | |||
autoyast=file:///autoinst.xml | autoyast=file:///autoinst.xml | ||
- | |||
autoyast=device://<device>/<file> | autoyast=device://<device>/<file> | ||
- | |||
autoyast=device:///my.xml | autoyast=device:///my.xml | ||
- | |||
autoyast=floppy:///autoyast.xml (der dritte / steht für das Rootverzeichnis auf der Diskette) | autoyast=floppy:///autoyast.xml (der dritte / steht für das Rootverzeichnis auf der Diskette) | ||
- | |||
autoyast=nfs://<server>/<path> | autoyast=nfs://<server>/<path> | ||
- | |||
autoyast=http://[user:password@]<server>/<path> | autoyast=http://[user:password@]<server>/<path> | ||
- | |||
autoyast=https://[user:password@]<server>/<path> | autoyast=https://[user:password@]<server>/<path> | ||
- | |||
autoyast=tftp://<server>/<path> | autoyast=tftp://<server>/<path> | ||
- | |||
autoyast=ftp://[user:password@]<server>/<path> | autoyast=ftp://[user:password@]<server>/<path> | ||
- | |||
autoyast=usb://<path> | autoyast=usb://<path> | ||
- | |||
autoyast=relurl://<path> | autoyast=relurl://<path> | ||
- | |||
autoyast=slp | autoyast=slp | ||
- | |||
autoyast=cifs://<server>/<path> | autoyast=cifs://<server>/<path> | ||
+ | autoyast=label://<label>/<path> | ||
- | autoyast=label://<label>/<path> | + | |
+ | ==== Install VMWare Tools via AutoYaST Using a Rules File on SLE11 ==== | ||
+ | |||
+ | <file> | ||
+ | /autoyast/ | ||
+ | |-- autoinst.xml | ||
+ | |-- classes | ||
+ | | `-- software | ||
+ | | `-- install-vmware-tools.xml | ||
+ | `-- rules | ||
+ | `-- rules.xml | ||
+ | </file> | ||
+ | |||
+ | <code xml rules.xml> | ||
+ | <?xml version="1.0"?> | ||
+ | <!DOCTYPE profile> | ||
+ | <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> | ||
+ | <rules config:type="list"> | ||
+ | <!-- | ||
+ | Always include the default AutoYaST profile (autoinst.xml in this case). | ||
+ | //--> | ||
+ | <rule> | ||
+ | <hostname> | ||
+ | <match>*</match> | ||
+ | <match_type>regex</match_type> | ||
+ | </hostname> | ||
+ | <result> | ||
+ | <profile>autoinst.xml</profile> | ||
+ | <continue config:type="boolean">true</continue> | ||
+ | </result> | ||
+ | </rule> | ||
+ | <!-- | ||
+ | Find out if the target host is VMWare by checking first six | ||
+ | characters of the MAC address of the first network card. MAC | ||
+ | addresses beginning with "000c29" are reserved for use by VMWare. | ||
+ | //--> | ||
+ | <rule> | ||
+ | <mac> | ||
+ | <match>000c29.{6}</match> | ||
+ | <match_type>regex</match_type> | ||
+ | </mac> | ||
+ | <result> | ||
+ | <profile>classes/software/install-vmware-tools.xml</profile> | ||
+ | <continue config:type="boolean">true</continue> | ||
+ | <dont_merge config:type="list"> | ||
+ | <element>package</element> | ||
+ | <element>listentry</element> | ||
+ | </dont_merge> | ||
+ | </result> | ||
+ | </rule> | ||
+ | </rules> | ||
+ | </profile> | ||
+ | </code> | ||
+ | |||
+ | <code xml install-vmware-tools.xml> | ||
+ | <?xml version="1.0"?> | ||
+ | <!DOCTYPE profile> | ||
+ | <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> | ||
+ | <add-on> | ||
+ | <add_on_products config:type="list"> | ||
+ | <listentry> | ||
+ | <media_url>nfs://192.168.0.1/install/vmware-tools/</media_url> | ||
+ | <product>vmware-tools</product> | ||
+ | <product_dir>/</product_dir> | ||
+ | <ask_on_error config:type="boolean">false</ask_on_error> | ||
+ | <name>VMWare Tools 8.0.3 x86_64</name> | ||
+ | </listentry> | ||
+ | </add_on_products> | ||
+ | </add-on> | ||
+ | <software> | ||
+ | <packages config:type="list"> | ||
+ | <package>vmware-tools</package> | ||
+ | <package>vmware-open-vm-tools-common</package> | ||
+ | <package>vmware-open-vm-tools-kmod</package> | ||
+ | <package>vmware-open-vm-tools</package> | ||
+ | <package>vmware-tools-nox</package> | ||
+ | <package>vmware-tools-common</package> | ||
+ | <package>vmware-open-vm-tools-xorg-utilities</package> | ||
+ | <package>vmware-open-vm-tools-nox</package> | ||
+ | </packages> | ||
+ | </software> | ||
+ | </profile> | ||
+ | </code> |