Skip to content

Commit

Permalink
Add script for sles-12-sp1
Browse files Browse the repository at this point in the history
  • Loading branch information
oven committed Aug 2, 2016
1 parent 0d78beb commit e884d44
Show file tree
Hide file tree
Showing 2 changed files with 522 additions and 0 deletions.
325 changes: 325 additions & 0 deletions http/sles-12/sles-12-sp1-x86_64-autoinst.xml
@@ -0,0 +1,325 @@
<?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"/>
</add-on>
<bootloader>
<global>
<activate>true</activate>
<append>splash=silent quiet showopts</append>
<append_failsafe>showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe</append_failsafe>
<boot_boot>false</boot_boot>
<boot_extended>false</boot_extended>
<boot_mbr>false</boot_mbr>
<boot_root>true</boot_root>
<default>0</default>
<distributor>SLES12</distributor>
<generic_mbr>true</generic_mbr>
<gfxmode>auto</gfxmode>
<os_prober>false</os_prober>
<timeout config:type="integer">8</timeout>
</global>
<initrd_modules config:type="list">
<initrd_module>
<module>ahci</module>
</initrd_module>
<initrd_module>
<module>ata_piix</module>
</initrd_module>
<initrd_module>
<module>ata_generic</module>
</initrd_module>
<initrd_module>
<module>jbd</module>
</initrd_module>
<initrd_module>
<module>mbcache</module>
</initrd_module>
</initrd_modules>
<loader_type>grub2</loader_type>
<sections config:type="list"/>
</bootloader>
<deploy_image>
<image_installation config:type="boolean">false</image_installation>
</deploy_image>
<firewall>
<FW_ALLOW_FW_BROADCAST_DMZ>no</FW_ALLOW_FW_BROADCAST_DMZ>
<FW_ALLOW_FW_BROADCAST_EXT>no</FW_ALLOW_FW_BROADCAST_EXT>
<FW_ALLOW_FW_BROADCAST_INT>no</FW_ALLOW_FW_BROADCAST_INT>
<FW_CONFIGURATIONS_DMZ/>
<FW_CONFIGURATIONS_EXT/>
<FW_CONFIGURATIONS_INT/>
<FW_DEV_DMZ/>
<FW_DEV_EXT/>
<FW_DEV_INT/>
<FW_FORWARD_ALWAYS_INOUT_DEV/>
<FW_FORWARD_MASQ/>
<FW_IGNORE_FW_BROADCAST_DMZ>no</FW_IGNORE_FW_BROADCAST_DMZ>
<FW_IGNORE_FW_BROADCAST_EXT>yes</FW_IGNORE_FW_BROADCAST_EXT>
<FW_IGNORE_FW_BROADCAST_INT>no</FW_IGNORE_FW_BROADCAST_INT>
<FW_IPSEC_TRUST>no</FW_IPSEC_TRUST>
<FW_LOAD_MODULES/>
<FW_LOG_ACCEPT_ALL>no</FW_LOG_ACCEPT_ALL>
<FW_LOG_ACCEPT_CRIT>yes</FW_LOG_ACCEPT_CRIT>
<FW_LOG_DROP_ALL>no</FW_LOG_DROP_ALL>
<FW_LOG_DROP_CRIT>yes</FW_LOG_DROP_CRIT>
<FW_MASQUERADE>no</FW_MASQUERADE>
<FW_PROTECT_FROM_INT>no</FW_PROTECT_FROM_INT>
<FW_ROUTE>no</FW_ROUTE>
<FW_SERVICES_ACCEPT_DMZ/>
<FW_SERVICES_ACCEPT_EXT/>
<FW_SERVICES_ACCEPT_INT/>
<FW_SERVICES_ACCEPT_RELATED_DMZ/>
<FW_SERVICES_ACCEPT_RELATED_EXT/>
<FW_SERVICES_ACCEPT_RELATED_INT/>
<FW_SERVICES_DMZ_IP/>
<FW_SERVICES_DMZ_RPC/>
<FW_SERVICES_DMZ_TCP/>
<FW_SERVICES_DMZ_UDP/>
<FW_SERVICES_EXT_IP/>
<FW_SERVICES_EXT_RPC/>
<FW_SERVICES_EXT_TCP/>
<FW_SERVICES_EXT_UDP/>
<FW_SERVICES_INT_IP/>
<FW_SERVICES_INT_RPC/>
<FW_SERVICES_INT_TCP/>
<FW_SERVICES_INT_UDP/>
<enable_firewall config:type="boolean">false</enable_firewall>
<start_firewall config:type="boolean">false</start_firewall>
</firewall>
<general>
<ask-list config:type="list"/>
<mode>
<confirm config:type="boolean">false</confirm>
</mode>
<mouse>
<id>none</id>
</mouse>
<proposals config:type="list"/>
<signature-handling>
<accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum>
<accept_non_trusted_gpg_key config:type="boolean">true</accept_non_trusted_gpg_key>
<accept_unknown_gpg_key config:type="boolean">true</accept_unknown_gpg_key>
<accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
<accept_verification_failed config:type="boolean">false</accept_verification_failed>
<import_gpg_key config:type="boolean">true</import_gpg_key>
</signature-handling>
<storage/>
</general>
<login_settings/>
<networking>
<dhcp_options>
<dhclient_client_id/>
<dhclient_hostname_option>AUTO</dhclient_hostname_option>
</dhcp_options>
<dns>
<dhcp_hostname config:type="boolean">false</dhcp_hostname>
<domain>vagrantup.com</domain>
<hostname>vagrant-sles-12-x64</hostname>
<resolv_conf_policy>auto</resolv_conf_policy>
<searchlist config:type="list">
<search>vagrantup.com</search>
</searchlist>
<write_hostname config:type="boolean">true</write_hostname>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<device>eth0</device>
<dhclient_set_default_route>yes</dhclient_set_default_route>
<startmode>auto</startmode>
<usercontrol>no</usercontrol>
</interface>
</interfaces>
<keep_install_network config:type="boolean">true</keep_install_network>
<managed config:type="boolean">false</managed>
<routing>
<ipv4_forward config:type="boolean">false</ipv4_forward>
<ipv6_forward config:type="boolean">false</ipv6_forward>
</routing>
</networking>
<partitioning config:type="list">
<drive>
<!--
definition of device not needed (starting with SLES 11 SP2
YaST will pickup the first harddisk.
This is useful if someone wants to deploy using VirtualBox and/or KVM/virtio
-->
<!-- <device>/dev/sda</device> -->
<!-- This section may be removed entirely if we want to simply reuse YaST defaults -->
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<fstopt>defaults</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<mount>swap</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">130</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<raid_options/>
<resize config:type="boolean">false</resize>
<size>1561492992</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">btrfs</filesystem>
<format config:type="boolean">true</format>
<loop_fs config:type="boolean">false</loop_fs>
<mount>/</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<raid_options/>
<resize config:type="boolean">false</resize>
<size>19895844352</size>
<subvolumes config:type="list">
<listentry>boot/grub2/i386-pc</listentry>
<listentry>boot/grub2/x86_64-efi</listentry>
<listentry>home</listentry>
<listentry>opt</listentry>
<listentry>srv</listentry>
<listentry>tmp</listentry>
<listentry>usr/local</listentry>
<listentry>var/crash</listentry>
<listentry>var/lib/mailman</listentry>
<listentry>var/lib/named</listentry>
<listentry>var/lib/pgsql</listentry>
<listentry>var/log</listentry>
<listentry>var/opt</listentry>
<listentry>var/spool</listentry>
<listentry>var/tmp</listentry>
</subvolumes>
</partition>
</partitions>
<pesize/>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
</partitioning>
<report>
<errors>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</errors>
<messages>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</messages>
<warnings>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</warnings>
<yesno_messages>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">0</timeout>
</yesno_messages>
</report>
<services-manager>
<default_target>graphical</default_target>
<services>
<disable config:type="list"/>
<enable config:type="list">
<service>sshd</service>
</enable>
</services>
</services-manager>
<software>
<packages config:type="list">
<package>glibc</package>
<package>openssh</package>
<package>grub2</package>
<package>syslinux</package>
<package>snapper</package>
<package>sles-release</package>
<package>SuSEfirewall2</package>
<package>kexec-tools</package>
<package>perl-Bootloader-YAML</package>
<package>kernel-default-devel</package>
<package>sudo</package>
<package>gcc</package>
<package>wget</package>
<package>perl</package>
<package>make</package>
</packages>
<patterns config:type="list">
<pattern>Minimal</pattern>
<pattern>apparmor</pattern>
</patterns>
<remove-packages config:type="list">
<package>adaptec-firmware</package>
<package>atmel-firmware</package>
<package>augeas-lenses</package>
<package>bash-completion</package>
<package>bash-doc</package>
<package>cifs-utils</package>
<package>cups-libs</package>
<package>ipw-firmware</package>
<package>mpt-firmware</package>
<package>postfix</package>
<package>samba-libs</package>
<package>ucode-intel</package>
</remove-packages>
</software>
<timezone>
<hwclock>UTC</hwclock>
<timezone>UTC</timezone>
</timezone>
<user_defaults>
<expire/>
<group>100</group>
<groups>video,dialout</groups>
<home>/home</home>
<inactive>-1</inactive>
<shell>/bin/bash</shell>
<skel>/etc/skel</skel>
<umask>022</umask>
</user_defaults>
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>vagrant</fullname>
<gid>100</gid>
<home>/home/vagrant</home>
<password_settings>
<expire/>
<flag/>
<inact/>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>1000</uid>
<user_password>$2y$05$NA1Li9ZKJOLRW5mMTXm6/e5r8dltWS5RpDZpvHrI82aLE00V51tdi</user_password>
<username>vagrant</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>root</fullname>
<gid>0</gid>
<home>/root</home>
<password_settings>
<expire/>
<flag/>
<inact/>
<max/>
<min/>
<warn/>
</password_settings>
<shell>/bin/bash</shell>
<uid>0</uid>
<user_password>$6$UgKtUD0AUMIA$VWLyc2Uvl0Lk6xxfTuoRb0/jrhZ9IJG/Gtx/DkZUEWZm.JYO1Q1fvPo6gDxQAHp38kQ1DG1vNGRgu2T/z/vih.</user_password>
<username>root</username>
</user>
</users>
</profile>

0 comments on commit e884d44

Please sign in to comment.