Project

General

Profile

action #33364 ยป reuse-encrypted.xml

riafarov, 2018-03-16 11:35

 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<general>
<mode>
<confirm config:type="boolean">true</confirm>
<second_stage config:type="boolean">false</second_stage>
</mode>
<signature-handling>
<accept_unknown_gpg_key>
<all config:type="boolean">true</all>
</accept_unknown_gpg_key>
</signature-handling>
</general>

<!-- <suse_register> -->
<!-- <do_registration config:type="boolean">true</do_registration> -->
<!-- <reg_code>30452ce234918d23</reg_code> -->
<!-- <install_updates config:type="boolean">true</install_updates> -->
<!-- <addons config:type="list"> -->
<!-- <addon> -->
<!-- <name>sle-module-basesystem</name> -->
<!-- <version>15</version> -->
<!-- <arch>x86_64</arch> -->
<!-- </addon> -->
<!-- <addon> -->
<!-- <name>sle-module-desktop-applications</name> -->
<!-- <version>15</version> -->
<!-- <arch>x86_64</arch> -->
<!-- </addon> -->

<!-- <addon> -->
<!-- <name>sle-module-server-applications</name> -->
<!-- <version>15</version> -->
<!-- <arch>x86_64</arch> -->
<!-- </addon> -->
<!-- <addon> -->
<!-- <name>sle-module-development-tools</name> -->
<!-- <version>15</version> -->
<!-- <arch>x86_64</arch> -->
<!-- </addon> -->
<!-- </addons> -->
<!-- </suse_register> -->

<networking>
<keep_install_network config:type="boolean">true</keep_install_network>
</networking>

<software>
<products config:type="list">
<product>SLES</product>
</products>
<install_recommended config:type="boolean">false</install_recommended>
<patterns config:type="list">
<pattern>base</pattern>
</patterns>
</software>

<partitioning config:type="list">
<drive>
<device>/dev/system</device>
<disklabel>msdos</disklabel>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">false</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">ext4</filesystem>
<format config:type="boolean">true</format>
<fstopt>acl,user_xattr</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<lv_name>root</lv_name>
<mount>/</mount>
<mountby config:type="symbol">device</mountby>
<partition_nr config:type="integer">1</partition_nr>
<resize config:type="boolean">false</resize>
<size>10737418240</size>
</partition>
<partition>
<create config:type="boolean">false</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">ext4</filesystem>
<format config:type="boolean">false</format>
<fstopt>acl,user_xattr</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<lv_name>srv</lv_name>
<mount>/srv</mount>
<mountby config:type="symbol">device</mountby>
<partition_nr config:type="integer">1</partition_nr>
<resize config:type="boolean">false</resize>
<size>5750390784</size>
</partition>
<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>
<lv_name>swap</lv_name>
<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>
<resize config:type="boolean">false</resize>
<size>268435456</size>
</partition>
</partitions>
<pesize>4M</pesize>
<type config:type="symbol">CT_LVM</type>
<use>all</use>
</drive>
<drive>
<device>/dev/vda</device>
<disklabel>msdos</disklabel>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">false</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">ext4</filesystem>
<format config:type="boolean">true</format>
<fstopt>acl,user_xattr</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<mount>/boot</mount>
<mountby config:type="symbol">uuid</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<resize config:type="boolean">true</resize>
<size>410156544</size>
</partition>
<partition>
<create config:type="boolean">false</create>
<crypt_fs config:type="boolean">true</crypt_fs>
<crypt_key>lcdmsdrmfsls</crypt_key>
<format config:type="boolean">false</format>
<loop_fs config:type="boolean">true</loop_fs>
<lvm_group>system</lvm_group>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">142</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<resize config:type="boolean">false</resize>
<size>16750116352</size>
</partition>
</partitions>
<pesize/>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
</partitioning>

<language>
<language>en_US</language>
<languages>en_US</languages>
</language>

<users config:type="list">
<user>
<encrypted config:type="boolean">false</encrypted>
<fullname>vagrant</fullname>
<gid>100</gid>
<home>/home/vagrant</home>
<shell>/bin/bash</shell>
<uid>1000</uid>
<user_password>nots3cr3t</user_password>
<username>vagrant</username>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<fullname>root</fullname>
<gid>0</gid>
<home>/root</home>
<shell>/bin/bash</shell>
<uid>0</uid>
<user_password>nots3cr3t</user_password>
<username>root</username>
</user>
</users>

<scripts>
<chroot-scripts config:type="list">
<script>
<chrooted config:type="boolean">true</chrooted>
<filename>enable-ssh-service.sh</filename>
<interpreter>shell</interpreter>
<source><![CDATA[
#!/bin/sh
/usr/bin/systemctl enable sshd.service
/usr/bin/systemctl disable firewalld.service
]]>
</source>
</script>
<script>
<chrooted config:type="boolean">true</chrooted>
<filename>yast_clone.sh</filename>
<interpreter>shell</interpreter>
<location/>
<feedback config:type="boolean">false</feedback>
<source><![CDATA[#!/bin/sh
mv /var/run/zypp.pid /var/run/zypp.sav
test -f /root/autoinst.xml && rm /root/autoinst.xml
yast clone_system
mv /var/run/zypp.sav /var/run/zypp.pid
]]></source>
</script>
</chroot-scripts>
</scripts>
</profile>
    (1-1/1)