<?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>Jason On A Shtick &#187; Fedora/Xen (archived)</title>
	<atom:link href="http://www.whitakerfamily.ws/blogs/jason/archives/category/fedoraxen/feed" rel="self" type="application/rss+xml" />
	<link>http://www.whitakerfamily.ws/blogs/jason</link>
	<description>strange world - strange times - strange dude</description>
	<lastBuildDate>Mon, 02 Jan 2012 04:12:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Fedora 7 on Microsoft Virtual PC 2007</title>
		<link>http://www.whitakerfamily.ws/blogs/jason/archives/102</link>
		<comments>http://www.whitakerfamily.ws/blogs/jason/archives/102#comments</comments>
		<pubDate>Fri, 27 Jul 2007 02:31:45 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Fedora/Xen (archived)]]></category>

		<guid isPermaLink="false">http://www.whitakerfamily.ws/blogs/jason/archives/102</guid>
		<description><![CDATA[For over a year, I ran Ubuntu Linux as a guest operating system under VMware&#8217;s free server for Windows. While my home desktop machine runs XP Home, I prefer to have Linux around for a few local servers and other specific items that I keep up (like irssi inside a screen, for example). So, I [...]]]></description>
			<content:encoded><![CDATA[<p>For over a year, I ran Ubuntu Linux as a guest operating system under <a href="http://www.vmware.com/products/server/">VMware&#8217;s free server</a> for Windows.  While my home desktop machine runs XP Home, I prefer to have Linux around for a few local servers and other specific items that I keep up (like irssi inside a screen, for example).  So, I got to have my Linux cake and eat VMware, too.</p>
<p>VMware Server is nice (especially for free!), but it was overkill for what I was doing with it. It had a lot more bells and whistles than I needed, such as snapshot/rollback capabilities for VMs, etc.  Also, I constantly battled clock issues within the Ubuntu VM.  There have been updates to later Linux kernels to address clock problems under virtualization, but Ubuntu is not a distribution that quickly jumps to the latest and greatest kernel.  <em>Side note: good writeup about clock problems in virtualized Linux <a href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;externalId=1420">here</a>.</em>  Eventually, I decided to start with a clean slate and try something new.</p>
<p>Microsoft recently released <a href="http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx">Virtual PC 2007</a> and while it does not explicitly list Linux as one of the possible guest operating systems that it supports, it does say that it &#8220;can run most x86 operating systems&#8221;.  Being a Fedora fan, I decided to give Fedora 7 a shot within Virtual PC.</p>
<p>Virtual PC 2007 is a free download and painless install.  It has a very rudimentary interface compared to VMware Server, but I just wanted bare bones stuff, anyway.  Since I am on XP Home, I was warned during the install that my operating system was not supported.  However, I had read in several places that Virtual PC works just fine on XP Home and other Windows flavors that it doesn&#8217;t say are supported.  You just won&#8217;t get any technical support from Microsoft on those.</p>
<p>After installing Fedora 7 and setting it up to my liking, I&#8217;ve been running for a few weeks with not too many problems.  Here are some tips:</p>
<ul>
<li>When you install Linux as a guest, be sure to choose that the system clock is not stored in UTC.  Linux normally writes the BIOS clock in UTC, but Windows stores it in local time.  I guess Virtual PC sets the virtual clock from the system clock (in local time!) at each VM start because my Fedora clock would be off by the number of hours of my GMT offset.  If you botch this at install, you can edit <em>/etc/sysconfig/clock</em> on Fedora and set <em>UTC=false</em>.</li>
<li>You&#8217;ll find plenty of blogs about display problems at boot time with Linux under Virtual PC.  I chose not to install X with Fedora 7 because I wanted only some basic Linux server action and I am comfortable working in a shell.  Still, even the video in the main console that Virtual PC fires up at boot will get hosed.  But, I use PuTTY to ssh in and all is well that way.  I just let that first console come up and then minimize it out of the way.  Some folks have <a href="http://davidbrunelle.com/2006/09/23/installing-fedora-core-on-microsoft-virtual-pc-2004/">made attempts</a> at getting X to run under Virtual PC.  I took a half-hearted try in a second Fedora 7 VM to no avail.</li>
<li>Related to the above&#8230; during that first boot of Fedora, the &#8220;Setup Agent&#8221; comes up to ask you about setting up networking, etc, but you won&#8217;t be able to read it.  Hit tab twice and then hit enter to dismiss the setup because I know you are old school and will tinker with all that from a shell, anyhow.  Actually, you can disable the firstboot service and prevent that agent from coming up again.</li>
<li>In Virtual PC, make sure to select <em>File -&gt; Options -&gt; Performance</em>, then set the radio buttons for &#8220;All running virtual machines get equal CPU time&#8221; under &#8220;CPU Time&#8221; and &#8220;Run Virtual PC at maximum speed&#8221; for &#8220;When Virtual PC is running in the background&#8221;.  Otherwise, clock hilarity will ensue in your Linux VM.  Installing ntp in your VM is also a good idea.</li>
<li>At 256MB of memory for the VM, I would see some hangups and issues after it ran for a few days.  I don&#8217;t know if this was Windows, Fedora, Virtual PC or some combination.  I bumped it up to 384 and have since run yum and gotten a new Fedora kernel.  Haven&#8217;t seen the same problems again.</li>
<li>Virtual PC does not run as a service, so you have to either start it manually or put it in your startup folder to kick off your VMs at Windows boot time.</li>
<li>I like that the virtual disk is one big file and there is only one other config file for Virtual PC for each VM.  It seemed like VMware Server kept a lot of other files around, so this setup is easier to backup and move around.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.whitakerfamily.ws/blogs/jason/archives/102/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Customized NetReg 1.5.1 with Nessus 3.0.5</title>
		<link>http://www.whitakerfamily.ws/blogs/jason/archives/42</link>
		<comments>http://www.whitakerfamily.ws/blogs/jason/archives/42#comments</comments>
		<pubDate>Thu, 15 Mar 2007 01:16:08 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Fedora/Xen (archived)]]></category>
		<category><![CDATA[NetReg (archived)]]></category>

		<guid isPermaLink="false">http://www.whitakerfamily.ws/blogs/jason/archives/42</guid>
		<description><![CDATA[I have NetReg 1.5.1 (along with my personal customizations to it) running in a Fedora Core 6 Xen VM and using the Nessus 3.0.5-fc6 rpm. Here&#8217;s the skinny: Get NetReg from http://www.netreg.org Get the Nessus RPM from http://www.nessus.org yum install httpd for Apache. yum install mod_ssl for https communications. yum install dhcp for the DHCP [...]]]></description>
			<content:encoded><![CDATA[<p>I have NetReg 1.5.1 (along with my personal customizations to it) running in  a Fedora Core 6 Xen VM and using the Nessus 3.0.5-fc6 rpm.  Here&#8217;s the skinny:</p>
<ul>
<li>Get NetReg from <a href="http://www.netreg.org">http://www.netreg.org</a></li>
<li>Get the Nessus RPM from <a href="http://www.nessus.org">http://www.nessus.org</a></li>
<li><strong>yum install httpd</strong> for Apache.</li>
<li><strong>yum install mod_ssl</strong> for https communications.</li>
<li><strong>yum install dhcp </strong>for the DHCP server.</li>
<li><strong>yum install bind</strong> for the DNS server.</li>
<li><strong>yum install php</strong> to support PHP for my modifications.</li>
<li><strong>yum install php-pear</strong> for an easy way to obtain PHP packages.</li>
<li><strong>pear config-set http_proxy http://xxx.xxx.xxx.xxx:3128</strong> for me, since I&#8217;m behind a firewall and using a proxy.</li>
<li><strong>pear install HTTP_Request</strong> to get a PHP class required by my code.</li>
<li><strong>rpm -i Nessus-3.0.5-fc6.i386.rpm</strong> to install the Nessus rpm.</li>
<li><strong>yum install gcc</strong> for the GNU C compiler to build Perl modules.</li>
<li><strong>yum install openssl-devel</strong> for SSL libraries required by some Perl modules.</li>
</ul>
<p>Now you have everything you need to set up NetReg and Nessus.  You can follow the <a href="http://netreg.sourceforge.net/contrib/NetReg-1.5.1-HowTo.pdf">NetReg install guide</a> for the most part, changing only your approach to the Nessus section since you downloaded an rpm instead.</p>
<p>In place of the DNS configuration that allows certain names to be looked up for real, my situation warrants a completely bogus DNS.  I have reused DNS configuration from older versions of Netreg, namely:</p>
<p><em>/var/named/chroot/etc/named.conf</em> looks like this:</p>
<p><em>server 172.16.1.21 {<br />
bogus yes;<br />
};</em></p>
<p><em>options {<br />
directory &#8220;/var/named&#8221;;<br />
recursion no;<br />
};</em></p>
<p><em>zone &#8220;.&#8221; in {<br />
type master;<br />
file &#8220;db.root&#8221;;<br />
};<br />
</em><br />
and <em>/var/named/chroot/var/named/db.root</em> looks like this:</p>
<p><em>. IN SOA netreg.someplace.org.  root.netreg.someplace.org. (<br />
1 10800 3600 604800 86400 )<br />
IN NS  netreg.someplace.org.<br />
netreg  86400   IN      A       172.16.1.21<br />
*.      86400   IN      A       172.16.1.21<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitakerfamily.ws/blogs/jason/archives/42/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A simple Apache reverse proxy</title>
		<link>http://www.whitakerfamily.ws/blogs/jason/archives/41</link>
		<comments>http://www.whitakerfamily.ws/blogs/jason/archives/41#comments</comments>
		<pubDate>Tue, 27 Feb 2007 19:39:48 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Fedora/Xen (archived)]]></category>

		<guid isPermaLink="false">http://www.whitakerfamily.ws/blogs/jason/archives/41</guid>
		<description><![CDATA[You can customize a Xen image with httpd and the mod_proxy_html module to provide a simple reverse proxy. mod_proxy_html parses proxied pages in order to correct non-relative URLs to be relative to the proxy server&#8217;s URL scheme. Here is what you need: yum install httpd to get Apache. yum install httpd-devel to get the apxs [...]]]></description>
			<content:encoded><![CDATA[<p>You can customize a Xen image with httpd and the mod_proxy_html module to provide a simple reverse proxy.  mod_proxy_html parses proxied pages in order to correct non-relative URLs to be relative to the proxy server&#8217;s URL scheme.</p>
<p>Here is what you need:</p>
<ul>
<li><strong>yum install httpd</strong> to get Apache.</li>
<li><strong>yum install httpd-devel</strong> to get the apxs tool.</li>
<li><strong>yum install mod_ssl </strong>to get SSL support.</li>
<li><strong>yum install libxml2-devel</strong> to get libxml2 which is used by mod_proxy_html to parse documents.</li>
<li>Get mod_proxy_html.c from <a href="http://apache.webthing.com/mod_proxy_html/">http://apache.webthing.com/mod_proxy_html/</a></li>
<li>Run <strong>apxs -c -I/usr/include/libxml2 -i mod_proxy_html.c</strong> to build and install the module.</li>
</ul>
<p>Now you have everything you need to run a reverse proxy.  Edit <em>/etc/httpd/conf/httpd.conf</em> and add:</p>
<p><em>LoadFile   /usr/lib/libxml2.so<br />
LoadModule proxy_html_module modules/mod_proxy_html.so</em></p>
<p>to load the module and libxml2.</p>
<p>Finally, add <em>&lt;Location&gt;</em> directives and the required configuration for proxying.  Here is an example:</p>
<p><em>ProxyRequests off<br />
ProxyPass /inside/ http://inside.somewhere.org/<br />
ProxyHTMLURLMap http://inside.somewhere.org/ /inside<br />
RewriteEngine On<br />
SSLProxyEngine on<br />
</em></p>
<p><em>&lt;Location /inside/&gt;<br />
SSLRequireSSL<br />
SetEnv force-proxy-request-1.0 1<br />
SetEnv proxy-nokeepalive 1<br />
ProxyPassReverse /<br />
SetOutputFilter  proxy-html<br />
ProxyHTMLURLMap  /      /inside/<br />
ProxyHTMLURLMap  /inside  /inside<br />
RequestHeader    unset  Accept-Encoding<br />
AuthName &#8220;Inside Somewhere&#8221;<br />
AuthType Basic<br />
AuthBasicProvider ldap<br />
AuthLDAPURL ldap://xxx.xxx.xxx.xxx:389/o=people<br />
AuthzLDAPAuthoritative off<br />
require valid-user<br />
&lt;/Location&gt;<br />
</em></p>
<p>This configuration does several things.  The internal site <em>http://inside.somewhere.org</em> is made available on this server at <em>https://this.server.name/inside/</em>.  https is made to be required to access the site, as is authentication against an LDAP directory.  In order for the <em>SSLProxyEngine</em> directive to work, this entire configuration must be nested within a <em>&lt;VirtualHost&gt;</em>.  I simply add it to the default SSL virtual host in <em>/etc/httpd/conf.d/ssl.conf</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitakerfamily.ws/blogs/jason/archives/41/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes to self on creating a base Fedora Xen image</title>
		<link>http://www.whitakerfamily.ws/blogs/jason/archives/40</link>
		<comments>http://www.whitakerfamily.ws/blogs/jason/archives/40#comments</comments>
		<pubDate>Tue, 20 Feb 2007 20:45:12 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Fedora/Xen (archived)]]></category>

		<guid isPermaLink="false">http://www.whitakerfamily.ws/blogs/jason/archives/40</guid>
		<description><![CDATA[Recently, I have spent time with Xen on Fedora Core 5 and 6 setting up routine services like mail and proxies within their own virtual machines. Following some other Xen blogs, I got into the habit of creating a &#8220;base&#8221; Fedora image and then simply customizing copies of that image for each new VM. These [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I have spent time with Xen on Fedora Core 5 and 6 setting up routine services like mail and proxies within their own virtual machines.  Following some other Xen blogs, I got into the habit of creating a &#8220;base&#8221; Fedora image and then simply customizing copies of that image for each new VM.  These are notes that I have compiled on managing that process.</p>
<p>First, some useful links:</p>
<ul>
<li> <a href="http://www.cl.cam.ac.uk/research/srg/netos/xen/" title="Xen">Xen</a></li>
<li>Wikipedia&#8217;s <a href="http://en.wikipedia.org/wiki/Virtual_appliance">virtual appliances site list</a></li>
<li>A <a href="http://wiki.xensource.com/xenwiki/FC5Zimbra" title="FC5Zimbra">XenSource wiki post</a> that gave me some ideas</li>
<li>jailtime.org&#8217;s <a href="http://www.jailtime.org/" title="jailtime.org">small prefab images</a></li>
<li><a href="http://fedoraproject.org/wiki/FedoraXenQuickstartFC6" title="FedoraXenQuickstartFC6">FC6 Xen quickstart guide</a></li>
</ul>
<p>You can create a new image using the FC6 DVD as the repository if you don&#8217;t have a local one, you just need FTP or HTTP access to the disc.  The simplest hack is to put a symbolic link on the Domain-0 host in <em>/var/www/html/</em> that refers to the disc&#8217;s mount point with <strong><em>ln -s /media/fedora_dvd /var/www/html/disk</em></strong>.<em>  </em>Now, you can specify <em>http://dom0_ip_addr/disk</em> as the install location, assuming you have httpd running there.</p>
<p>Starting in FC6, there is a <em>virt-install</em> script that points to the old <em>xenguest-install</em> one &#8211; a sign of preparation for easily slipping in other VM solutions by using generic script names.</p>
<p>I go for about a 3GB image file.  That gives me plenty of room for the base Fedora stuff plus some room to install things that don&#8217;t grow over time.  If you need more space for some type of disk consuming application, you could resize your image file depending on how you laid out partitions, logical volumes, etc.  I have also had luck in creating separate &#8220;data&#8221; image files to be mounted on <em>/opt</em> or some other useful location.  I find these easier to deal with resizing because you will likely have only one partition there, not multiple ones plus a partition table to screw up.  Steps to create a &#8220;data&#8221; image file and resize it later:</p>
<ul>
<li> Create a 1GB image file with <strong><em>dd if=/dev/zero of=data.img bs=1M count=1 seek=1024</em></strong></li>
<li> Format the image file as ext3 with <strong><em>mke2fs -F -j data.img</em></strong></li>
</ul>
<p>At this point, you can mount the data image file as any other and use it.  Put an entry for the mount in  <em>/etc/fstab</em> in the guest VM that will use it.  You will also need to customize the Xen config file for the guest image to make the data image available as a particular device.  To resize the data image, unmount it (shutdown guest that is using it) and then:</p>
<ul>
<li>Remove the journal (making it ext2) with <strong><em>tune2fs -O ^has_journal data.img</em></strong></li>
<li>Check things out with <strong><em>e2fsck -f data.img</em></strong></li>
<li>Resize the image file to 2.5GB with <strong><em>dd if=/dev/zero of=data.img bs=1M conv=notrunc count=1 seek=2500</em></strong></li>
<li>Grow the filesystem to match with <strong><em>resize2fs data.img</em></strong></li>
<li>Put a new journal back with <strong><em>tune2fs -j data.img</em></strong></li>
</ul>
<p>And you are done.  You can also mount the data image file with the loop device to access it, but don&#8217;t do it while it is being accessed by a running guest:</p>
<ul>
<li>Mount using the loop device with <strong><em>mount -o loop data.img /mnt</em></strong></li>
<li>losetup will show you which loop device is used with <strong><em>losetup -a</em></strong></li>
<li> Access what you need at <em>/mnt</em></li>
<li>Unmount the image when done with <strong><em>umount /mnt</em></strong></li>
</ul>
<p>During the Fedora install, I choose a static IP address with my known DNS servers and network configuration. These choices simply save me some time later when I customize a copy of the image. When it comes time to select packages, I customize by deselecting everything except for vim-advanced under the &#8220;Editors&#8221; category.</p>
<p>Once the installer finishes, your new guest domain may or may not start up depending on how things are set up. I mount the guest image and make one change before starting it up to make some further changes.</p>
<p>With the exception of the first one, the following changes are made inside of the running guest image:</p>
<ol>
<li>Before starting the guest, mount the image file and disable SELinux.  Edit <em>/etc/selinux/config</em> and change <em>SELINUX=enforcing</em> to <em>SELINUX=disabled</em>, then unmount the image.  Now you can start the guest without SELinux running at all.  Alternatively, you could start the guest, make this change, then reboot the guest to get SELinux turned off before doing anything else.</li>
<li>Stop the yum-updatesd service with <strong><em>service yum-updatesd stop</em></strong> so you can run yum on your own.</li>
<li>Issue a <strong><em>yum update</em></strong> to get everything up to snuff.  Been a while since you burned that FC6 DVD, huh?  I am behind a larger firewall setup that prevents just any IP address from having outside access, so I have squid running on dom0, which does have access.  In the guest, I edit <em>/etc/yum.conf</em> to include <em>proxy=http://dom0_ip_addr:3128</em> so that yum uses the proxy.  Note that you may need to deal with squid caching of packages, etc if you do this often.</li>
<li>Out of habit, I look for any rpm conflicts by running<strong> <em>find / \( -name &#8220;*.rpmsave&#8221; -o -name &#8220;*.rpmnew&#8221; \)</em></strong> and resolving anything that needs it.</li>
<li>Install ntp.  Xen guest domain clocks tend to stray a bit, so this takes care of any time problems.  Run <strong><em>yum install ntp</em></strong>.</li>
<li>Edit <em>/etc/init.d/ntpd</em> and add <strong><em>echo 1 &gt; /proc/sys/xen/independent_wallclock</em></strong> in the <em>start </em>function after the call to <em>readconf</em>.  This marker must be reset at each boot to indicate that the guest will keep its own time.</li>
<li>Run <strong><em>ntsysv </em></strong>and enable/disable the services you want to run in this base guest.  I turn off everything including hardware stuff, APM and RAID monitoring (do those matter in a guest?) except for anacron, atd, autofs, crond, gpm, iptables (and ip6tables if you have enabled IPv6 support), messagebus, network, ntpd, sendmail, sshd and syslog.</li>
<li>Edit <em>/etc/sysconfig/iptables</em> (and <em>ip6tables </em>as above) and make any firewall settings that you want.  I generally remove the default Fedora rules that accept multicast and other traffic, leaving only the entries for lo, icmp, state in established/related and the final reject with icmp-host-prohibited.  I filter ssh on port 22 a little further by only allowing access from certain subnets on the network with <strong><em>-A RH-Firewall-1-INPUT -s xx.xx.xx.0/255.255.255.0 -m state &#8211;state NEW -m tcp -p tcp &#8211;dport 22 -j ACCEPT</em></strong>.</li>
<li>Reboot the guest image.  I have gotten into the habit of logging out and having Xen do it.</li>
</ol>
<p>At this point, you have a stock Fedora image that can be customized however you like.  When you are ready to create a copy, follow these steps.</p>
<ol>
<li>Shutdown the base image if it is running.</li>
<li>Copy the image to a new file with <strong><em>cp basefc6.img customfc6.img</em></strong>.</li>
<li>Copy the Xen config file for the image in <em>/etc/xen</em> like <strong><em>cp basefc6 customfc6</em></strong>.</li>
<li>Edit the <em>customfc6 </em>config file and change the name of the image, the amount of memory you want, the disk path to the image file and add one to the fake MAC address to make it unique.  I usually remove the uuid and let Xen generate one for each guest on the fly.  If you are going to use a data image file, make sure it is made available in the <em>disk </em>entry.</li>
</ol>
<p>Now, your custom image copy is bootable but you may want to go ahead and tweak the network settings before you start it.  You can mount the filesystem within the image first to make changes.  The <strong><em>mount -o loop</em></strong> used above may not get it done if you have logical volumes defined in the image.  Without logical volumes, <strong><em>lomount -t ext3 -diskimage customfc6.img -partition 1 /mnt</em></strong> will mount partition 1.  To see a list of partitions in the image, leave off the  <em>-partition 1 </em>part.  If you have volume groups, consult the FC6 Xen quickstart guide for how to use <strong><em>kpartx</em></strong>.</p>
<p>The following instructions assume you are working in the mounted filesystem of the image file, so <strong>prefix the paths with your mount point</strong> (<em>/mnt</em> in the example above).</p>
<ol>
<li>Edit <em>/etc/hosts</em> and enter what you like.  I personally don&#8217;t like for the loopback range to also have the actual host name and shortname.  I separate them like:<br />
<em>127.0.0.1               localhost.localdomain localhost<br />
xxx.xxx.xxx.xxx             </em><em>something.somewhere.org something</em></li>
<li>Edit <em>/etc/sysconfig/network</em> and change <em>HOSTNAME </em>to a full name like <em>something.somewhere.org</em>.</li>
<li>Edit <em>/etc/sysconfig/network-scripts/ifcfg-eth0</em> and update as much as you can stand.  Make sure the HWADDR entry matches the MAC address in the Xen config file for this image.  Here is an example:<br />
<em>DEVICE=eth0<br />
BROADCAST=172.31.255.255<br />
HWADDR=00:16:3E:26:6B:DD<br />
IPADDR=172.16.1.100<br />
IPV6ADDR=<br />
IPV6PREFIX=<br />
NETMASK=255.240.0.0<br />
NETWORK=172.16.0.0<br />
ONBOOT=yes<br />
</em></li>
<li>Edit <em>/etc/resolv.conf</em> and get your DNS on, such as:<br />
<em>search somewhere.org<br />
nameserver xxx.xxx.xxx.xxx<br />
nameserver xxx.xxx.xxx.xxx</em></li>
<li>Edit <em>/etc/sysconfig/iptables</em> and make any firewall settings that you want for this custom VM.</li>
</ol>
<p>Unmount the image filesystem with <strong><em>umount /mnt</em></strong>.  Your custom image is now ready to boot!  Depending on how long ago you updated your base image, you may want to <strong><em>yum update</em></strong> this new custom one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitakerfamily.ws/blogs/jason/archives/40/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

