Benutzer-Werkzeuge

Webseiten-Werkzeuge


autoyast

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
autoyast [2011/01/26 12:56]
admin
autoyast [2011/10/10 23:41] (aktuell)
admin
Zeile 1: Zeile 1:
 =====AutoYast===== =====AutoYast=====
 +
 +[[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/​createprofile.scripts.html|4.16. Custom user scripts]] \\
 +[[http://​ugansert.blogspot.com/​|Uwes Blog]] \\
 +[[http://​suse.gansert.net/​|Uwes Blog | work related blog mainly about AutoYaST on openSUSE and SLES.]]
 +[[http://​ugansert.blogspot.com/​2009/​03/​imagine-autoyast.html|Uwes Blog: imag(in)e AutoYaST]] \\
 +[[http://​lists.opensuse.org/​opensuse-autoinstall/​|openSUSE Mailinglist Archive: opensuse-autoinstall]] \\
 +[[http://​doc.opensuse.org/​projects/​YaST/​SLES9/​autoinstall/​sles8/​html/​c326.html|Configuration and Installation Options]] \\
 +[[http://​old-en.opensuse.org/​YaST/​Modules/​Firstboot|YaST/​Modules/​Firstboot - openSUSE]] \\
 +[[http://​wiki.open-pc.com/​index.php/​Documentation|Documentation - Wiki.open-pc.com]] \\
 +[[http://​doc.opensuse.org/​products/​draft/​SLES/​SLES-deployment_draft/​cha.deployment_firstboot.html|Chapter 20. Deploying Customized Preinstallations]] \\
 +[[http://​doc.opensuse.org/​products/​draft/​SLES/​SLES-deployment_draft/​cha.deployment.autoinst.html#​sec.deployment.autoinst.advanced.example|Chapter 21. Automated Installation]] \\
 +[[http://​demeter.uni-regensburg.de/​SLE11SP1-SAP-x64/​DVD1/​sap-es/​classes/​master/​|Index of /​SLE11SP1-SAP-x64/​DVD1/​sap-es/​classes/​master]] \\
 +[[http://​www.ibm.com/​developerworks/​linux/​library/​l-cloud-auto/​|Automating Linux cloud installations]] \\
 +[[http://​www.suse.com/​~ug/​|SUSE / Uwe Gansert / autoyast / autoinstall]] \\
 +
 +  * [[http://​www.suse.com/​~ug/​autoyast_doc/​invoking_autoinst.html#​id2543177|AutoYaST Bootparameter]]
 +  * [[http://​de.opensuse.org/​Linuxrc|Bootparameter]]
 +  * [[Bootparameter]]
  
   *[[http://​www.suse.de/​~ug/​|AutoYaST Homepage]]   *[[http://​www.suse.de/​~ug/​|AutoYaST Homepage]]
Zeile 20: Zeile 41:
  
   *[[http://​www.suse.de/​~ug/​autoyast_doc/​invoking_autoinst.html|Parameter zum Booten]]   *[[http://​www.suse.de/​~ug/​autoyast_doc/​invoking_autoinst.html|Parameter zum Booten]]
 +
 +  autoyast=default
 +  autoyast=file:///​autoinst.xml
 +  autoyast=device://<​device>/<​file>​
 +  autoyast=device:///​my.xml
 +  autoyast=floppy:///​autoyast.xml (der dritte / steht für das Rootverzeichnis auf der Diskette)
 +  autoyast=nfs://<​server>/<​path>​
 +  autoyast=http://​[user:​password@]<​server>/<​path>​
 +  autoyast=https://​[user:​password@]<​server>/<​path>​
 +  autoyast=tftp://<​server>/<​path>​
 +  autoyast=ftp://​[user:​password@]<​server>/<​path>​
 +  autoyast=usb://<​path>​
 +  autoyast=relurl://<​path>​
 +  autoyast=slp
 +  autoyast=cifs://<​server>/<​path>​
 +  autoyast=label://<​label>/<​path>​
 +
 +
 +==== Install VMWare Tools via AutoYaST Using a Rules File on SLE11 ====
 +
 <​file>​ <​file>​
-autoyast=default Default auto-installation option +/autoyast
-autoyast=file://<​path>​ Looks for control file in specified path (relative to source root directory, i.e. file:///autoinst.xml ​if in the top directory of a CD-ROM and you did an installation from CD) +|-- autoinst.xml 
-autoyast=device://<​device>/<​file>​ Looks for control file on a storage device. (only device name needed without full path, i.e. /dev/sda1 is wrong, instead use sda1). Since openSUSE 11.2 (not SLES11) you can leave out the device to trigger AutoYaST'​s search routine over all devices. (autoyast=device:///​my.xml) +|-classes 
-autoyast=floppy://<​path>​ Looks for control file in the floppy (Useful when booting from CD). Since SLES10 SP1 and later the fallback is looking on USB devices too +|   `-- software 
-autoyast=nfs://<​server>/<​path>​ Looks for control file on <​server>​ +|       ​`-- ​install-vmware-tools.xml 
-autoyast=http://​[user:​password@]<​server>/<​path>​ Retrieves the control file from a web server using the HTTP protocol. +`-- rules 
-autoyast=https://​[user:​password@]<​server>/<​path>​ Retrieves the control file from a web server using HTTPS (encrypted connection) protocol (possible since SL 10.1 and SLES10 +    `-- rules.xml
-autoyast=tftp://<​server>/<​path>​ Retrieve the control file with TFTP +
-autoyast=ftp://​[user:​password@]<​server>/<​path>​ Retrieve the control file with FTP +
-autoyast=usb://<​path>​ (since SLES10 SP1) Retrieve the control file from USB devices (autoyast will search on all USB devices it can find) +
-autoyast=relurl://<​path>​ (since openSUSE 11.0) Retrieve the control file from the installation source (install=....) +
-autoyast=slp (since openSUSE 11.2, not SLES 11) Query the location of the profile from an SLP server (service:​autoyast:​...). Since openSUSE 11.3 you can add a "​description="​ attribute so you can "​translate"​ the URL into something more readable +
-autoyast=cifs://<​server>/<​path>​ (since openSUSE 11.2, not SLES 11) Looks for control file on <​server>​ with CIFS +
-autoyast=label://<​label>/<​path>​ (since openSUSE 11.3, not SLES 11) Looks for control file on a device that has the label+
 </​file>​ </​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>​
autoyast.1296042998.txt.gz · Zuletzt geändert: 2011/01/26 12:56 von admin