• VMware

    Learn about VMware virtualization for its products like vsphere ESX and ESXi, vCenter Server, VMware View, VMware P2V and many more

  • Linux

    Step by step configuration tutorials for many of the Linux services like DNS, DHCP, FTP, Samba4 etc including many tips and tricks in Red Hat Linux.

  • Database

    Learn installation and configuration of databases like Oracle, My SQL, Postgresql, etc including many other related tutorials in Linux.

  • Sample autoyast example xml file for SLES 10, 11 and SLES 12

    <?xml version="1.0"?>
    <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
    <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">

    <!-- $Header: $ -->

    <configure>
        <ntp-client>
          <configure_dhcp config:type="boolean">false</configure_dhcp>
          <peers config:type="list">
            <peer>
              <address>10.43.22.96</address>
              <initial_sync config:type="boolean">true</initial_sync>
              <options></options>
              <type>server</type>
            </peer>
            <peer>
              <address>10.53.133.13</address>
              <initial_sync config:type="boolean">true</initial_sync>
              <options></options>
              <type>server</type>
            </peer>
          </peers>
          <start_at_boot config:type="boolean">true</start_at_boot>
          <start_in_chroot config:type="boolean">true</start_in_chroot>
        </ntp-client>

        <networking>
          <dns>
    <dhcp_resolv config:type="boolean">true</dhcp_resolv>
            <domain></domain>
            <hostname>server-test1</hostname>
            <nameserver>127.0.0.1</nameserver>
          </dns>
          <routing>
            <ip_forward config:type="boolean">false</ip_forward>
            <routes config:type="list">
             <route>
                 <destination>default</destination>
                 <device>-</device>
                 <gateway>192.122.11.254</gateway>
                 <netmask>-</netmask>
              </route>


            </routes>
          </routing>
          <interfaces config:type="list">
            <interface>
              <device>bond0</device>
              <startmode>onboot</startmode>
              <bonding_master>yes</bonding_master>
              <bonding_module_opts>arp_interval=1000 arp_ip_target=192.122.11.254 mode=1 arp_validate=all</bonding_module_opts>
              <bonding_slave0>eth0</bonding_slave0>
              <bonding_slave1>eth1</bonding_slave1>
              <ipaddr>192.122.11.194</ipaddr>
              <netmask>255.255.255.192</netmask>
            </interface>

          </interfaces>
        </networking>

        <scripts>
    <pre-scripts config:type="list">
      <script>
         <filename>pre_install.sh</filename>  
         <interpreter>shell</interpreter>
         <source><![CDATA[#!/bin/sh

    echo "This is a test sctip which will be called before starting actual installation"

    ]]>
              </source> 
      </script>
      <aiPreScript/>
    </pre-scripts>

    <chroot-scripts config:type="list">

           <script>
            <chrooted config:type="boolean">true</chrooted>
            <interpreter>shell</interpreter>
            <filename>disable-ipv6_chrooted.sh</filename>
            <source>
              <![CDATA[
    sysctl -w net.ipv6.conf.all.disable_ipv6=1;
    echo "net.ipv6.conf.all.disable_ipv6=1" >> /etc/sysctl.conf;
              ]]>
            </source>
           </script>

    </chroot-scripts>
      
          <post-scripts config:type="list">
            <script>
              <filename>post_install.sh</filename>
              <source> <![CDATA[#!bin/sh

      echo "This will be called after OS installation"
      
              ]]>
              </source>
            </script>
          </post-scripts>

         <init-scripts config:type="list">
         </init-scripts>
        </scripts>

        <users config:type="list">
          <user>
            <encrypted config:type="boolean">true</encrypted>
            <home>/root</home>
            <shell>/bin/bash</shell>
            <user_password>/.b.UDRjPGnig</user_password>
            <username>root</username>
          </user>
        </users>
      
      </configure>
      <install>

        <bootloader>
          <activate config:type="boolean">false</activate>
          <loader_type>grub</loader_type>
          <repl_mbr config:type="boolean">false</repl_mbr>
          <global>
            <boot_mbr config:type="boolean">true</boot_mbr>
          </global>
        </bootloader>

        <general>
          <clock>
            <hwclock>UTC</hwclock>
            <timezone>Asia/Kolkata</timezone>
          </clock>
          <keyboard>
            <keymap>english-us</keymap>
          </keyboard>
          <language>en_US</language>
          <mode>
            <confirm config:type="boolean">false</confirm>
            <forceboot config:type="boolean">false</forceboot>
          </mode>
          <mouse>
            <id>probe</id>
          </mouse>
          <report>    
            <messages>
      <show config:type="boolean">true</show>
      <timeout config:type="integer">10</timeout>
      <log config:type="boolean">true</log>
            </messages>
            <errors>
      <show config:type="boolean">true</show>
      <timeout config:type="integer">10</timeout>
      <log config:type="boolean">true</log>
            </errors>
            <warnings>
      <show config:type="boolean">true</show>
      <timeout config:type="integer">10</timeout>
      <log config:type="boolean">true</log>
            </warnings>
          </report>
        </general>

    <partitioning config:type="list" >
    <drive>
      <device>/dev/mapper/mpath0</device>
    <initialize config:type="boolean">true</initialize>
    <partitions config:type="list">
      <!-- part for boot -->
      <partition>
        <format config:type="boolean" >false</format>
        <partition_id config:type="integer" >131</partition_id>
       <filesystem config:type="symbol" >ext3</filesystem>
       <format config:type="boolean" >true</format>
        <mount>/boot</mount>
        <size>512M</size>
      </partition>

      <!-- part for root -->
      <partition>
        <format config:type="boolean" >false</format>
        <partition_id config:type="integer" >131</partition_id>
       <filesystem config:type="symbol" >ext3</filesystem>
       <format config:type="boolean" >true</format>
        <mount>/</mount>
        <size>4096M</size>
      </partition>

      <!-- part for var -->
      <partition>
        <format config:type="boolean" >false</format>
        <lvm_group>system</lvm_group>
        <partition_id config:type="integer" >142</partition_id>
        <size>max</size>
      </partition>

      <!-- part for swap -->
      <partition>
        <format config:type="boolean" >false</format>
        <partition_id config:type="integer" >131</partition_id>
       <filesystem config:type="symbol" >swap</filesystem>
       <format config:type="boolean" >true</format>
        <mount>swap</mount>
        <size>4096M</size>
      </partition>

    <!-- max alloc var 8704 sda -->
        </partitions>
        <use>all</use>
    </drive>

    <drive>
      <device>/dev/system</device>
        <initialize config:type="boolean" >false</initialize>
        <is_lvm_vg config:type="boolean" >true</is_lvm_vg>
        <lvm2 config:type="boolean" >true</lvm2>
        <partitions config:type="list" >
          <!-- LV for var -->
          <partition>
            <filesystem config:type="symbol" >ext3</filesystem>
            <format config:type="boolean" >true</format>
            <lv_name>var</lv_name>
            <mount>/var</mount>
            <partition_id config:type="integer" >142</partition_id>
            <size>4096m</size>
          </partition>

          <!-- LV for opt -->
          <partition>
            <filesystem config:type="symbol" >ext3</filesystem>
            <format config:type="boolean" >true</format>
            <lv_name>opt</lv_name>
            <mount>/opt</mount>
            <partition_id config:type="integer" >142</partition_id>
            <size>10240m</size>
          </partition>

          <!-- LV for usr -->
          <partition>
            <filesystem config:type="symbol" >ext3</filesystem>
            <format config:type="boolean" >true</format>
            <lv_name>system-usr</lv_name>
            <mount>/usr</mount>
            <partition_id config:type="integer" >142</partition_id>
            <size>20480m</size>
          </partition>

          <!-- LV for tmp -->
          <partition>
            <filesystem config:type="symbol" >ext3</filesystem>
            <format config:type="boolean" >true</format>
            <lv_name>tmp</lv_name>
            <mount>/tmp</mount>
            <partition_id config:type="integer" >142</partition_id>
            <size>40960m</size>
          </partition>

          <!-- LV for varlog -->
          <partition>
            <filesystem config:type="symbol" >ext3</filesystem>
            <format config:type="boolean" >true</format>
            <lv_name>system-var-log</lv_name>
            <mount>/var/log</mount>
            <partition_id config:type="integer" >142</partition_id>
            <size>max</size>
          </partition>

        </partitions>
        <pesize>32M</pesize>
        <use>all</use>
    </drive>

    </partitioning>
    <software>
          <kernel>kernel-default</kernel>
          <patterns config:type="list">
             <pattern>Minimal</pattern>
          </patterns>
          <packages config:type="list">
            <package>update-alternatives</package>
            <package>vim-base</package>
            <package>vim-data</package>
            <package>vim</package>
            <package>audit</package>
            <package>libltdl7</package>
            <package>openssh</package>
            <package>ksh</package>
            <package>libgcc46-32bit</package>
            <package>zypper</package>
            <package>less</package>
            <package>iptables</package>
            <package>man</package>
            <package>man-pages</package>
            <package>groff</package>
            <package>ntp</package>
            <package>yast2-ntp-client</package>
            <!--<package>net-snmp</package> -->
            <package>binutils</package>
            <package>bc</package>
            <package>openmotif22-libs</package>
            <package>xorg-x11-libs</package>
            <package>expect</package>
            <package>supportutils</package>
            <package>sudo</package>
            <package>sysstat</package>
            <package>netcat</package>
            <package>ipmitool</package>
            <package>rsync</package>
            <package>libcap1</package>
            <package>at</package>
            <package>nscd</package>
            <package>ethtool</package>
            <package>suse-sam-data</package>
            <package>perl-satsolver</package>
            <package>suse-sam</package>
            <package>pam_passwdqc</package>
            <package>dos2unix</package>
            <package>zip</package>
            <package>hdparm</package>
            <package>mailx</package>
            <package>ifplugd</package>
            <package>kernel-default-extra</package>
            <package>recode</package>
            <package>libstdc++33-32bit</package>
            <package>libstdc++46</package>
            <package>libgcc46</package>
            <package>perl-Net-IP</package>
            <package>libstdc++33</package>
            <package>smartmontools</package>
            <package>kdump</package>
            <package>kexec-tools</package>
            <package>makedumpfile</package>
    <package>utempter</package>
    <package>screen</package>
    <package>openssl1</package>
            <package>libopenssl1_0_0</package>
    <package>quota</package>
          </packages>
          <remove-packages config:type="list">
            <package>mpt-firmware</package>
          </remove-packages>
        </software>


      </install>

    <files config:type="list">
    </files>

    </profile>

    Deepak Prasad

    is a techie and an author who is still trying to survive in this IT generation with very little knowledge he has on Linux/Unix, VMware, SAN Storage, Automation, networking etc

    You can follow him on Facebook or Google+

    Do you also have something to share here?

    Become an author and be a part of our GoLinuxHub Team, Click here for more information
    Sample autoyast example xml file for SLES 10, 11 and SLES 12 Sample autoyast example xml file for SLES 10, 11 and SLES 12 Reviewed by Deepak Prasad on Saturday, April 07, 2018 Rating: 5

    No comments:

    Powered by Blogger.