packer-builds

Packer Builds for LXC and Libvirt
git clone https://git.in0rdr.ch/packer-builds.git
Log | Files | Refs | Pull requests |Archive | README

autoinst.xml (5186B)


      1 <?xml version="1.0"?>
      2 <!DOCTYPE profile>
      3 
      4 <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
      5   <general>
      6     <mode>
      7       <confirm config:type="boolean">false</confirm>
      8     </mode>
      9   </general>
     10 
     11   <bootloader>
     12     <global>
     13       <!--<append> resume=/dev/vda1 splash=silent quiet showopts</append>-->
     14       <append> ipv6.disable=1</append>
     15       <append_failsafe>showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe</append_failsafe>
     16       <default>openSUSE Leap 15.0</default>
     17       <distributor>openSUSE Leap 15.0</distributor>
     18       <gfxbackground>/boot/grub2/themes/openSUSE/background.png</gfxbackground>
     19       <gfxmode>auto</gfxmode>
     20       <gfxtheme>/boot/grub2/themes/openSUSE/theme.txt</gfxtheme>
     21       <hiddenmenu>false</hiddenmenu>
     22       <lines_cache_id>0</lines_cache_id>
     23       <os_prober>true</os_prober>
     24       <terminal>gfxterm</terminal>
     25       <timeout config:type="integer">5</timeout>
     26     </global>
     27 
     28     <loader_type>grub2</loader_type>
     29   </bootloader>
     30 
     31   <firewall>
     32     <enable_firewall config:type="boolean">false</enable_firewall>
     33     <start_firewall config:type="boolean">false</start_firewall>
     34   </firewall>
     35 
     36   <!--<keyboard>
     37     <keymap>english-us</keymap>
     38   </keyboard>-->
     39 
     40   <language>
     41     <language>en_US</language>
     42   </language>
     43 
     44   <networking>
     45     <dhcp_options>
     46       <dhclient_client_id/>
     47       <dhclient_hostname_option>AUTO</dhclient_hostname_option>
     48     </dhcp_options>
     49 
     50     <dns>
     51       <hostname>vagrant-openSUSE-Leap</hostname>
     52       <domain>vagrantup.com</domain>
     53 
     54       <resolv_conf_policy>auto</resolv_conf_policy>
     55 
     56       <dhcp_hostname config:type="boolean">false</dhcp_hostname>
     57       <write_hostname config:type="boolean">false</write_hostname>
     58     </dns>
     59 
     60     <interfaces config:type="list">
     61       <interface>
     62         <bootproto>dhcp</bootproto>
     63         <device>eth0</device>
     64         <startmode>auto</startmode>
     65         <usercontrol>no</usercontrol>
     66       </interface>
     67     </interfaces>
     68     <ipv6 config:type="boolean">false</ipv6>
     69   </networking>
     70 
     71   <partitioning config:type="list">
     72     <drive>
     73       <use>all</use>
     74     </drive>
     75   </partitioning>
     76 
     77   <report>
     78     <errors>
     79       <log config:type="boolean">true</log>
     80       <show config:type="boolean">false</show>
     81       <timeout config:type="integer">10</timeout>
     82     </errors>
     83     <messages>
     84       <log config:type="boolean">true</log>
     85       <show config:type="boolean">false</show>
     86       <timeout config:type="integer">10</timeout>
     87     </messages>
     88     <warnings>
     89       <log config:type="boolean">true</log>
     90       <show config:type="boolean">false</show>
     91       <timeout config:type="integer">10</timeout>
     92     </warnings>
     93     <yesno_messages>
     94       <log config:type="boolean">true</log>
     95       <show config:type="boolean">false</show>
     96       <timeout config:type="integer">10</timeout>
     97     </yesno_messages>
     98   </report>
     99 
    100   <software>
    101     <install_recommended config:type="boolean">false</install_recommended>
    102     <patterns config:type="list">
    103       <pattern>base</pattern>
    104       <pattern>sw_management</pattern>
    105       <pattern>yast2_basis</pattern>
    106     </patterns>
    107     <products config:type="list">
    108       <product>openSUSE</product>
    109     </products>
    110     <packages config:type="list">
    111       <package>cloud-init</package>
    112       <package>qemu-guest-agent</package>
    113       <package>NetworkManager</package>
    114     </packages>
    115   </software>
    116 
    117   <timezone>
    118     <hwclock>UTC</hwclock>
    119     <timezone>Europe/Zurich</timezone>
    120   </timezone>
    121 
    122   <services-manager>
    123     <default_target>multi-user</default_target>
    124 
    125     <services>
    126       <disable config:type="list">
    127         <service>wickedd-dhcp6</service>
    128         <service>wickedd-auto6</service>
    129         <service>wicked</service>
    130         <service>wickedd-auto4</service>
    131         <service>wickedd-dhcp4</service>
    132         <service>wickedd-nanny</service>
    133       </disable>
    134       <enable config:type="list">
    135         <service>qemu-ga@vport2p1</service>
    136         <!--<service>qemu-ga@virtio-ports/org.qemu.guest_agent.0</service>-->
    137         <service>NetworkManager</service>
    138         <service>getty@tty1</service>
    139         <service>sshd</service>
    140       </enable>
    141     </services>
    142   </services-manager>
    143 
    144   <scripts>
    145     <chroot-scripts config:type="list">
    146       <script>
    147         <filename>newrename.sh</filename>
    148         <interpreter>shell</interpreter>
    149 
    150         <source>ln -sf /dev/null /etc/udev/rules.d/80-net-setup-link.rules</source>
    151 
    152         <feedback config:type="boolean">false</feedback>
    153         <debug config:type="boolean">true</debug>
    154         <chrooted config:type="boolean">true</chrooted>
    155       </script>
    156 
    157       <script>
    158         <filename>oldrename.sh</filename>
    159         <interpreter>shell</interpreter>
    160 
    161         <source>ln -sf /dev/null /etc/udev/rules.d/80-net-name-slot.rules</source>
    162 
    163         <feedback config:type="boolean">false</feedback>
    164         <debug config:type="boolean">true</debug>
    165         <chrooted config:type="boolean">true</chrooted>
    166       </script>
    167     </chroot-scripts>
    168   </scripts>
    169 
    170   <users config:type="list">
    171     <user>
    172       <username>root</username>
    173       <user_password>root</user_password>
    174     </user>
    175   </users>
    176 </profile>
    177