-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add files for automated generation of openSUSE images
- autoyast files, new hack files, virt-install script This partially addresses the #11 Issue.
- Loading branch information
1 parent
36f5dd1
commit ea5ed60
Showing
6 changed files
with
724 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,335 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE profile> | ||
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> | ||
<bootloader> | ||
<global> | ||
<append>resume=/dev/os15vg/swap_lv console=ttyS0,115200n8 mitigations=auto</append> | ||
<cpu_mitigations>auto</cpu_mitigations> | ||
<gfxmode>auto</gfxmode> | ||
<hiddenmenu>false</hiddenmenu> | ||
<os_prober>false</os_prober> | ||
<serial>serial --unit=0 --speed=115200 --parity=no --word=8</serial> | ||
<terminal>serial</terminal> | ||
<timeout config:type="integer">5</timeout> | ||
</global> | ||
<loader_type>grub2</loader_type> | ||
</bootloader> | ||
<deploy_image> | ||
<image_installation config:type="boolean">false</image_installation> | ||
</deploy_image> | ||
<firewall> | ||
<default_zone>public</default_zone> | ||
<enable_firewall config:type="boolean">true</enable_firewall> | ||
<log_denied_packets>off</log_denied_packets> | ||
<start_firewall config:type="boolean">true</start_firewall> | ||
<zones config:type="list"> | ||
<zone> | ||
<description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description> | ||
<masquerade config:type="boolean">false</masquerade> | ||
<name>public</name> | ||
<services config:type="list"> | ||
<service>ssh</service> | ||
<service>dhcpv6-client</service> | ||
</services> | ||
<short>Public</short> | ||
<target>default</target> | ||
</zone> | ||
</zones> | ||
</firewall> | ||
<general> | ||
<mode> | ||
<confirm config:type="boolean">false</confirm> | ||
<final_halt config:type="boolean">false</final_halt> | ||
<final_reboot config:type="boolean">true</final_reboot> | ||
<halt config:type="boolean">false</halt> | ||
<second_stage config:type="boolean">false</second_stage> | ||
</mode> | ||
<signature-handling> | ||
<accept_file_without_checksum config:type="boolean">false</accept_file_without_checksum> | ||
<accept_non_trusted_gpg_key config:type="boolean">false</accept_non_trusted_gpg_key> | ||
<accept_unknown_gpg_key config:type="boolean">false</accept_unknown_gpg_key> | ||
<accept_unsigned_file config:type="boolean">false</accept_unsigned_file> | ||
<accept_verification_failed config:type="boolean">false</accept_verification_failed> | ||
<import_gpg_key config:type="boolean">false</import_gpg_key> | ||
</signature-handling> | ||
</general> | ||
<groups config:type="list"/> | ||
<host> | ||
<hosts config:type="list"> | ||
<hosts_entry> | ||
<host_address>127.0.0.1</host_address> | ||
<names config:type="list"> | ||
<name>localhost</name> | ||
</names> | ||
</hosts_entry> | ||
<hosts_entry> | ||
<host_address>::1</host_address> | ||
<names config:type="list"> | ||
<name>localhost ipv6-localhost ipv6-loopback</name> | ||
</names> | ||
</hosts_entry> | ||
<hosts_entry> | ||
<host_address>fe00::0</host_address> | ||
<names config:type="list"> | ||
<name>ipv6-localnet</name> | ||
</names> | ||
</hosts_entry> | ||
<hosts_entry> | ||
<host_address>ff00::0</host_address> | ||
<names config:type="list"> | ||
<name>ipv6-mcastprefix</name> | ||
</names> | ||
</hosts_entry> | ||
<hosts_entry> | ||
<host_address>ff02::1</host_address> | ||
<names config:type="list"> | ||
<name>ipv6-allnodes</name> | ||
</names> | ||
</hosts_entry> | ||
<hosts_entry> | ||
<host_address>ff02::2</host_address> | ||
<names config:type="list"> | ||
<name>ipv6-allrouters</name> | ||
</names> | ||
</hosts_entry> | ||
<hosts_entry> | ||
<host_address>ff02::3</host_address> | ||
<names config:type="list"> | ||
<name>ipv6-allhosts</name> | ||
</names> | ||
</hosts_entry> | ||
</hosts> | ||
</host> | ||
<login_settings/> | ||
<networking> | ||
<dhcp_options> | ||
<dhclient_hostname_option>AUTO</dhclient_hostname_option> | ||
</dhcp_options> | ||
<dns> | ||
<dhcp_hostname config:type="boolean">true</dhcp_hostname> | ||
<hostname>localhost</hostname> | ||
<resolv_conf_policy>auto</resolv_conf_policy> | ||
</dns> | ||
<interfaces config:type="list"> | ||
<interface> | ||
<aliases/> | ||
<bootproto>dhcp</bootproto> | ||
<name>eth0</name> | ||
<startmode>hotplug</startmode> | ||
</interface> | ||
</interfaces> | ||
<ipv6 config:type="boolean">true</ipv6> | ||
<keep_install_network config:type="boolean">false</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> | ||
<device>/dev/os15vg</device> | ||
<enable_snapshots config:type="boolean">false</enable_snapshots> | ||
<initialize config:type="boolean">false</initialize> | ||
<partitions config:type="list"> | ||
<partition> | ||
<create config:type="boolean">true</create> | ||
<filesystem config:type="symbol">swap</filesystem> | ||
<format config:type="boolean">false</format> | ||
<lv_name>swap_lv</lv_name> | ||
<mount>swap</mount> | ||
<mountby config:type="symbol">device</mountby> | ||
<pool config:type="boolean">false</pool> | ||
<resize config:type="boolean">false</resize> | ||
<size>268435456</size> | ||
<stripes config:type="integer">1</stripes> | ||
<stripesize config:type="integer">0</stripesize> | ||
</partition> | ||
<partition> | ||
<create config:type="boolean">true</create> | ||
<create_subvolumes config:type="boolean">true</create_subvolumes> | ||
<filesystem config:type="symbol">btrfs</filesystem> | ||
<format config:type="boolean">false</format> | ||
<lv_name>root_lv</lv_name> | ||
<mount>/</mount> | ||
<mountby config:type="symbol">device</mountby> | ||
<pool config:type="boolean">false</pool> | ||
<resize config:type="boolean">false</resize> | ||
<size>5368709120</size> | ||
<stripes config:type="integer">1</stripes> | ||
<stripesize config:type="integer">0</stripesize> | ||
<subvolumes config:type="list"> | ||
<subvolume> | ||
<copy_on_write config:type="boolean">true</copy_on_write> | ||
<path>home</path> | ||
</subvolume> | ||
<subvolume> | ||
<copy_on_write config:type="boolean">true</copy_on_write> | ||
<path>boot/grub2/x86_64-efi</path> | ||
</subvolume> | ||
<subvolume> | ||
<copy_on_write config:type="boolean">true</copy_on_write> | ||
<path>boot/grub2/i386-pc</path> | ||
</subvolume> | ||
<subvolume> | ||
<copy_on_write config:type="boolean">true</copy_on_write> | ||
<path>root</path> | ||
</subvolume> | ||
<subvolume> | ||
<copy_on_write config:type="boolean">true</copy_on_write> | ||
<path>opt</path> | ||
</subvolume> | ||
<subvolume> | ||
<copy_on_write config:type="boolean">true</copy_on_write> | ||
<path>usr/local</path> | ||
</subvolume> | ||
<subvolume> | ||
<copy_on_write config:type="boolean">true</copy_on_write> | ||
<path>tmp</path> | ||
</subvolume> | ||
<subvolume> | ||
<copy_on_write config:type="boolean">true</copy_on_write> | ||
<path>srv</path> | ||
</subvolume> | ||
<subvolume> | ||
<copy_on_write config:type="boolean">false</copy_on_write> | ||
<path>var</path> | ||
</subvolume> | ||
</subvolumes> | ||
<subvolumes_prefix><![CDATA[@]]></subvolumes_prefix> | ||
</partition> | ||
</partitions> | ||
<pesize>4194304</pesize> | ||
<type config:type="symbol">CT_LVM</type> | ||
</drive> | ||
<drive> | ||
<device>/dev/sda</device> | ||
<disklabel>gpt</disklabel> | ||
<initialize config:type="boolean">false</initialize> | ||
<partitions config:type="list"> | ||
<partition> | ||
<create config:type="boolean">true</create> | ||
<filesystem_id config:type="integer">263</filesystem_id> | ||
<format config:type="boolean">false</format> | ||
<partition_id config:type="integer">263</partition_id> | ||
<partition_nr config:type="integer">1</partition_nr> | ||
<resize config:type="boolean">false</resize> | ||
<size>8388608</size> | ||
</partition> | ||
<partition> | ||
<create config:type="boolean">true</create> | ||
<filesystem_id config:type="integer">142</filesystem_id> | ||
<format config:type="boolean">false</format> | ||
<lvm_group>os15vg</lvm_group> | ||
<partition_id config:type="integer">142</partition_id> | ||
<partition_nr config:type="integer">2</partition_nr> | ||
<resize config:type="boolean">false</resize> | ||
<size>6432996864</size> | ||
</partition> | ||
</partitions> | ||
<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> | ||
<scripts> | ||
<chroot-scripts config:type="list"> | ||
<script> | ||
<filename>zzz_fstrim</filename> | ||
<source><![CDATA[fstrim /mnt]]></source> | ||
</script> | ||
</chroot-scripts> | ||
<init-scripts config:type="list"> | ||
<script> | ||
<filename>zzz_reboot</filename> | ||
<source><![CDATA[shutdown -r now]]></source> | ||
</script> | ||
</init-scripts> | ||
</scripts> | ||
<services-manager> | ||
<services> | ||
<enable config:type="list"> | ||
<service>sshd</service> | ||
</enable> | ||
</services> | ||
</services-manager> | ||
<software> | ||
<install_recommended config:type="boolean">false</install_recommended> | ||
<packages config:type="list"> | ||
<package>wicked</package> | ||
<package>openssh</package> | ||
<package>openSUSE-release</package> | ||
<package>numactl</package> | ||
<package>lvm2</package> | ||
<package>kexec-tools</package> | ||
<package>irqbalance</package> | ||
<package>grub2</package> | ||
<package>glibc</package> | ||
<package>firewalld</package> | ||
<package>e2fsprogs</package> | ||
<package>btrfsprogs</package> | ||
<package>autoyast2</package> | ||
</packages> | ||
<patterns config:type="list"> | ||
<pattern>apparmor</pattern> | ||
<pattern>base</pattern> | ||
<pattern>enhanced_base</pattern> | ||
<pattern>minimal_base</pattern> | ||
<pattern>yast2_basis</pattern> | ||
</patterns> | ||
<products config:type="list"> | ||
<product>openSUSE</product> | ||
</products> | ||
</software> | ||
<user_defaults> | ||
<group>100</group> | ||
<groups/> | ||
<home>/home</home> | ||
<inactive>-1</inactive> | ||
<no_groups config:type="boolean">true</no_groups> | ||
<shell>/bin/bash</shell> | ||
<skel>/etc/skel</skel> | ||
<umask>022</umask> | ||
</user_defaults> | ||
<users config:type="list"> | ||
<user> | ||
<authorized_keys config:type="list"/> | ||
<encrypted config:type="boolean">false</encrypted> | ||
<fullname>root</fullname> | ||
<gid>0</gid> | ||
<home>/root</home> | ||
<home_btrfs_subvolume config:type="boolean">false</home_btrfs_subvolume> | ||
<password_settings> | ||
<inact>-1</inact> | ||
<max>99999</max> | ||
<min>0</min> | ||
<warn>7</warn> | ||
</password_settings> | ||
<shell>/bin/bash</shell> | ||
<uid>0</uid> | ||
<user_password>testtest</user_password> | ||
<username>root</username> | ||
</user> | ||
</users> | ||
</profile> |
Oops, something went wrong.