<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Lazy Sys Admin &#187; AutoInstall</title>
	<atom:link href="http://www.thelazysysadmin.net/tag/autoinstall/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelazysysadmin.net</link>
	<description>Why do things the hard way?</description>
	<lastBuildDate>Tue, 11 Oct 2011 05:31:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OpenSUSE AutoYast/AutoInstall Howto Part 3</title>
		<link>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opensuse-autoyastautoinstall-howto-part-3</link>
		<comments>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-3/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 21:38:01 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[AutoInstall]]></category>
		<category><![CDATA[AutoYast]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=298</guid>
		<description><![CDATA[OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with AutoYaST which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment. In this three part series &#8230; <a href="http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with <a href="http://www.suse.com/~ug/autoyast_doc/index.html" target="_blank">AutoYaST</a> which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment.</p>
<p>In this three part series we will explore creating a repository for use with multiple systems, creating and customizing the AutoInstall file, and finally running through an install procedure.</p>
<p><strong>Part 3 &#8211; Putting it all together and installing a server<br />
</strong></p>
<p>In this part we will look at running through a machine install making use of our newly created repository and AutoInstall file.</p>
<p><span id="more-298"></span><br />
Check out <a href="http://www.thelazysysadmin.net/293/opensuse-autoyast-autoinstall-howto-part-1/" target="_self">Part 1 &#8211; Creating a repository for use with multiple systems</a><br />
<a href="http://www.thelazysysadmin.net/297/opensuse-autoyastautoinstall-howto-part-2/" target="_self">Part 2 &#8211; Creating and Customizing the AutoInstall file</a></p>
<p>What you will need:</p>
<ul>
<li>OpenSUSE Installation Media</li>
<li>Server/Desktop/VM that has access to DHCP and the HTTP server holding the Repository</li>
</ul>
<p><strong>OpenSUSE Installation Media</strong></p>
<p>You will need to boot the new machine with some form of installation media. This can be either the full installation DVD or my preference is the small network install CD (I prefer this as not all my servers have DVD drives, plus it is an 88mb ISO to upload to my VM Servers rather then a 5gb ISO). To get a copy of the Network Install disk goto <a href="http://software.opensuse.org/" target="_blank">http://software.opensuse.org/</a> and select Network for the installation medium.</p>
<p><strong>Installation</strong></p>
<p>For the screenshots in this Demo I am using a VM hosted on VMWare ESXi 4.0.</p>
<p>The machine should boot into the following screen.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_01.jpg"><img class="alignnone size-full wp-image-415" title="AutoYast_Demo_Part3_01" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_01.jpg" alt="AutoYast_Demo_Part3_01" width="600" height="450" /></a></p>
<p>To start with press F4 to bring up the source menu.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_02.jpg"><img class="alignnone size-full wp-image-416" title="AutoYast_Demo_Part3_02" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_02.jpg" alt="AutoYast_Demo_Part3_02" width="600" height="451" /></a></p>
<p>Select HTTP. You will then need to enter the details of your repository server (remember the directory in this context is the directory relative to the webroot)</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_03.jpg"><img class="alignnone size-full wp-image-417" title="AutoYast_Demo_Part3_03" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_03.jpg" alt="AutoYast_Demo_Part3_03" width="600" height="450" /></a></p>
<p>The next part you need to fill in some extra details for the boot options.</p>
<pre>autoyast=http://192.168.0.65/autoyast/autoinstall/demo.xml</pre>
<p>This will be the AutoInstall file you have created.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_04.jpg"><img class="alignnone size-full wp-image-418" title="AutoYast_Demo_Part3_04" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_04.jpg" alt="AutoYast_Demo_Part3_04" width="600" height="451" /></a></p>
<p>Next select Installation and press enter. For the rest just sit back and wait.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_05.jpg"><img class="alignnone size-full wp-image-419" title="AutoYast_Demo_Part3_05" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_05.jpg" alt="AutoYast_Demo_Part3_05" width="600" height="451" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_06.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_06" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_06.jpg" alt="AutoYast_Demo_Part3_06" width="600" height="450" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_07.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_07" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_07.jpg" alt="AutoYast_Demo_Part3_07" width="600" height="450" /></a></p>
<p>If you didn&#8217;t select an automated installation you will be stopped before the following screen presented with all the information regarding the installation (change what you need to then hit Install).</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_08.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_08" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_08.jpg" alt="AutoYast_Demo_Part3_08" width="600" height="450" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_09.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_09" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_09.jpg" alt="AutoYast_Demo_Part3_09" width="600" height="450" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_10.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_10" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_10.jpg" alt="AutoYast_Demo_Part3_10" width="600" height="450" /></a></p>
<p>This is after the first reboot, when presented with the install screen again just select &#8220;Boot from Hard Disk&#8221; or let it time out. You could also remove the CD/DVD just before the machine reboots.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_11.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_11" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_11.jpg" alt="AutoYast_Demo_Part3_11" width="600" height="450" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_12.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_12" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_12.jpg" alt="AutoYast_Demo_Part3_12" width="600" height="450" /></a></p>
<p>And that is it. The machine install is complete. That concludes the series on AutoYast/AutoInstall. Sometime in the next few weeks I will put together a short howto on creating your own local Update repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSUSE AutoYast/AutoInstall Howto Part 2</title>
		<link>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opensuse-autoyastautoinstall-howto-part-2</link>
		<comments>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-2/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 21:31:37 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[AutoInstall]]></category>
		<category><![CDATA[AutoYast]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=297</guid>
		<description><![CDATA[OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with AutoYaST which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment. In this three part series &#8230; <a href="http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with <a href="http://www.suse.com/~ug/autoyast_doc/index.html" target="_blank">AutoYaST</a> which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment.</p>
<p>In this three part series we will explore creating a repository for use with multiple systems, creating and customizing the AutoInstall file, and finally running through an install procedure.</p>
<p><strong>Part 2 &#8211; Creating and Customizing the AutoInstall file</strong></p>
<p>In this part we will look at creating an AutoInstall file for use with AutoYast.</p>
<p><span id="more-297"></span><br />
Check out <a href="http://www.thelazysysadmin.net/293/opensuse-autoyast-autoinstall-howto-part-1/" target="_self">Part 1 &#8211; Creating a repository for use with multiple systems</a></p>
<p>For this part you will need a machine with OpenSUSE installed, the latest version would be best (although I think it should work with older versions, however I haven&#8217;t tested this theory).</p>
<p>Required Packages:</p>
<ul>
<li>autoyast2</li>
<li>autoyast2-installation</li>
</ul>
<p>In the next section we look at many different options. There are lots of things to explore, but I will leave this up to you. We will go through the basics:</p>
<ul>
<li>Disk Partitioning</li>
<li>Network Setup</li>
<li>Package Selection</li>
<li>Users and Groups</li>
<li>System Services (Runlevels)</li>
<li>Basic Post Install Scripting</li>
</ul>
<p>Firstly access YaST from either a X Windows session or from the Command Line (The screen shots are all from the command line version but the same rules should apply).</p>
<p>Goto the &#8220;Miscellanous &#8211; Autoinstallation&#8221; screen</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_01.jpg"><img class="alignnone size-full wp-image-380" title="AutoYast_Demo_Part2_01" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_01.jpg" alt="AutoYast_Demo_Part2_01" width="600" height="360" /></a></p>
<p><strong>Disk Partitioning</strong></p>
<p>In this section I found it best to use &#8220;Auto&#8221; for the device. This way the same file works between my test server in VM, through to my HP Servers with RAID configurations.</p>
<p>For the most part you will just need to enter the details you want/need. But there are two things that needs to be pointed out with regard to partition sizes. What you can do is build a partition with size Auto (this is best used on your swap partition) and also with size Max which will fill the rest of the drive&#8217;s free space. So the layout I commonly use is:</p>
<ul>
<li>/boot with 128mb &#8211; EXT2</li>
<li>SWAP with Auto</li>
<li>/ with 15GB &#8211; EXT3</li>
<li>/var or /home with Max, EXT3 (Depending on the role of the server, typically /home for development/webservers and /var for database/mail servers)</li>
</ul>
<p><em>Unfortunately, if you need to use software RAID Autoyast/Autoinstall will not work for you.</em></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_03.jpg"><img class="alignnone size-full wp-image-382" title="AutoYast_Demo_Part2_03" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_03.jpg" alt="AutoYast_Demo_Part2_03" width="600" height="359" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_04.jpg"><img class="alignnone size-full wp-image-383" title="AutoYast_Demo_Part2_04" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_04.jpg" alt="AutoYast_Demo_Part2_04" width="600" height="360" /></a></p>
<p><strong>Network Setup</strong></p>
<p>In the Network Settings screen click on Add.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_05.jpg"><img class="alignnone size-full wp-image-384" title="AutoYast_Demo_Part2_05" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_05.jpg" alt="AutoYast_Demo_Part2_05" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_06.jpg"><img class="alignnone size-full wp-image-385" title="AutoYast_Demo_Part2_06" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_06.jpg" alt="AutoYast_Demo_Part2_06" width="600" height="360" /></a></p>
<p>Leave the defaults on the Hardware Dialog Screen (unless you want to change from Eth0 to Eth1,2,3&#8230;.N, change the number in the Configuration Name Section).</p>
<p>Fill in the Network Card Setup screen with the options you require (ie, DHCP, Static Address, Additional Interface aliases).</p>
<p>Now back in the Network Settings screen go to Hostname/DNS and fill in the appropriate details there (Please note, this is one of the only things that needs to be changed for each server build, or alternatively you could build your servers with a generic name and change them after build).</p>
<p>Next fill in the required details in Routing and your done.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_07.jpg"><img class="alignnone size-full wp-image-386" title="AutoYast_Demo_Part2_07" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_07.jpg" alt="AutoYast_Demo_Part2_07" width="600" height="360" /></a></p>
<p><strong>Package Selection</strong></p>
<p>This section is relatively easy, all you need to do is fill in the details as you would for any installation. (The catch is you will first of all need to use the filter to display &#8220;Patterns&#8221; then at a bare minimum select &#8220;Base System&#8221;).</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_08.jpg"><img class="alignnone size-full wp-image-387" title="AutoYast_Demo_Part2_08" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_08.jpg" alt="AutoYast_Demo_Part2_08" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_09.jpg"><img class="alignnone size-full wp-image-388" title="AutoYast_Demo_Part2_09" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_09.jpg" alt="AutoYast_Demo_Part2_09" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_10.jpg"><img class="alignnone size-full wp-image-379" title="AutoYast_Demo_Part2_10" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_10.jpg" alt="AutoYast_Demo_Part2_10" width="600" height="361" /></a></p>
<p><strong>Users and Groups</strong></p>
<p>Go to &#8220;Security and Users &#8211; User and Group Management&#8221; and at a bare minimum edit the Root user and set a password (if you don&#8217;t do this then you will not be able to login to the machine after it has been built).</p>
<p>At this point you can make any customisations you require for Users and Groups, as a best practice measure you should also create a non-root user and set a password for that account too.</p>
<p><strong>System Services</strong></p>
<p>You will also need to change the default system runlevel if you want a console only server, to do this goto &#8220;System &#8211; System Services (Runlevel)&#8221; then click edit.</p>
<p>Set the default runlevel to &#8220;3: Full multiuser with network&#8221; and then click ok.</p>
<p><strong>Custom Scripts</strong></p>
<p>You can use AutoYast to install custom files. This allows you to copy down configuration files to the installed machine, inject ssh keys whatever your imagination lets you do.</p>
<p>The other part is Post Install scripts which run during installation, this is used to run custom installers (ie wget a custom module and compile, or rsync webfiles, etc).</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_11.jpg"><img class="alignnone size-full wp-image-396" title="AutoYast_Demo_Part2_11" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_11.jpg" alt="AutoYast_Demo_Part2_11" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_12.jpg"><img class="alignnone size-full wp-image-397" title="AutoYast_Demo_Part2_12" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_12.jpg" alt="AutoYast_Demo_Part2_12" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_13.jpg"><img class="alignnone size-full wp-image-398" title="AutoYast_Demo_Part2_13" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_13.jpg" alt="AutoYast_Demo_Part2_13" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_14.jpg"><img class="alignnone size-full wp-image-399" title="AutoYast_Demo_Part2_14" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_14.jpg" alt="AutoYast_Demo_Part2_14" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_15.jpg"><img class="alignnone size-full wp-image-400" title="AutoYast_Demo_Part2_15" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_15.jpg" alt="AutoYast_Demo_Part2_15" width="600" height="361" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_16.jpg"><img class="alignnone size-full wp-image-395" title="AutoYast_Demo_Part2_16" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_16.jpg" alt="AutoYast_Demo_Part2_16" width="600" height="360" /></a></p>
<p><strong>Finishing Touches</strong></p>
<p>The final thing to do is decide if you want the autobuild script to require confirmation, by default the installer will show you the proposed setup before installing requiring you to actually click the install button, if this is how you want it then by all means have a look at the other configuration options available to you before we head into the machine installation section in the next part of the series.</p>
<p>If you do want everything to be automatic then goto the &#8220;System &#8211; General Options&#8221; section then edit.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_02.jpg"><img class="alignnone size-full wp-image-381" title="AutoYast_Demo_Part2_02" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_02.jpg" alt="AutoYast_Demo_Part2_02" width="600" height="360" /></a></p>
<p>Just click next on the Mouse Configuration (unless you want to change something). Then set &#8220;Confirm installation?&#8221; to off. Click Next then Finished (F10 in CLI mode).</p>
<p>You can download my sample AutoInstall file &#8211; <a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/demo.xml">Demo SUSE AutoInstall XML File</a></p>
<p>The password set on the root account in the XML file is &#8220;crackme&#8221;.</p>
<p>And your done. Check back for the next part when we look at actually doing a machine install.</p>
<p><a href="http://www.thelazysysadmin.net/298/opensuse-autoyastautoinstall-howto-part-3/" target="_self">Part 3 – Putting it all together and installing a server</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSUSE AutoYast/AutoInstall Howto Part 1</title>
		<link>http://www.thelazysysadmin.net/2009/06/opensuse-autoyast-autoinstall-howto-part-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opensuse-autoyast-autoinstall-howto-part-1</link>
		<comments>http://www.thelazysysadmin.net/2009/06/opensuse-autoyast-autoinstall-howto-part-1/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 01:19:41 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[AutoInstall]]></category>
		<category><![CDATA[AutoYast]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=293</guid>
		<description><![CDATA[OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with AutoYaST which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment. In this three part series &#8230; <a href="http://www.thelazysysadmin.net/2009/06/opensuse-autoyast-autoinstall-howto-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with <a href="http://www.suse.com/~ug/autoyast_doc/index.html" target="_blank">AutoYaST</a> which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment.</p>
<p>In this three part series we will explore creating a repository for use with multiple systems, creating and customizing the AutoInstall file, and finally running through an install procedure.</p>
<p><strong>Part 1 &#8211; Creating a repository for use with multiple systems</strong></p>
<p>In this part we will look at creating a local install repository for use with installing OpenSUSE. This can be done in several ways, one from the CD/DVD or with an RSync&#8217;ed copy of the repository.</p>
<p><span id="more-293"></span><br />
1. You will need to find a location to store your local repository with sufficient free disk space (my repo is currently 38gig&#8217;s and growing with every release and service pack that I am using. As an a-side the current full OpenSUSE11.1 repo is 14gig&#8217;s).</p>
<p>2. Choose a method for sharing your repository, for this guide we will be setting up HTTP with apache but you have the option of SLP, FTP, HTTP, NFS, SMB (Setting up the other methods are outside the scope of this tutorial, but whichever method you use, most of the steps will still apply).</p>
<p>3. If you are using Suse simply create an autoyast.conf file in the /etc/apache2/conf.d directory with the following contents (a vhost would work well for this as well, but just change the config to suit your needs).</p>
<pre class="brush: plain; title: ; notranslate">
    Alias /autoyast/ /var/lib/autoinstall/repository/

        Options +Indexes +FollowSymLinks
        IndexOptions +NameWidth=*

        Order allow,deny
        Allow from all
</pre>
<p>4. The quick an easy option here would be to just copy the contents of your installation DVD into a sub directory ie /var/lib/autoinstall/repository/opensuse11.1</p>
<p>The second and most complete option would be to rsync a copy from a mirror. This can be achieved with the following command.</p>
<pre class="brush: plain; title: ; notranslate">rsync -a -v -v --delete-after --progress
mirror.internode.on.net::opensuse/distribution/11.1/repo/oss/
/var/lib/autoinstall/repository/opensuse11.1/</pre>
<p>This command will copy 14gb&#8217;s of data, but as it is using rsync you can cancel it and restart it as often as you need. Be sure to select a mirror near you from the following list <a href="http://mirrors.opensuse.org/" target="_blank">OpenSUSE Mirror List</a>.</p>
<p>For the most part this process has been successful with just a copy of the installation media. OpenSUSE 11.1 is the first time I have created a local mirror of the installation repository. If you are only using one architecture then coping the installation media is probably the easiest method, but if you need to install across different platforms then copying an rsync mirror would probably be the best option.</p>
<p>Watch out in the next couple of days for the second part in the series, Creating and customizing the AutoInstall file.</p>
<p><a href="http://www.thelazysysadmin.net/297/opensuse-autoyastautoinstall-howto-part-2/" target="_self">Part 2 – Creating and Customizing the AutoInstall file</a><br />
<a href="http://www.thelazysysadmin.net/298/opensuse-autoyastautoinstall-howto-part-3/" target="_self">Part 3 – Putting it all together and installing a server</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/06/opensuse-autoyast-autoinstall-howto-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

