File update-os12-autoyast.patch of Package virt-test

--- shared/unattended/OpenSUSE-12.xml	2014-03-07 05:46:05.685844064 +0800
+++ shared/unattended/OpenSUSE-12.xml.patch	2014-03-07 11:49:05.000000000 +0800
@@ -50,14 +50,13 @@
         <module>edd</module>
       </initrd_module>
     </initrd_modules>
-    <append>console=tty0 console=ttyS0,115200</append>
     <loader_type>grub</loader_type>
     <sections config:type="list"/>
   </bootloader>
+  <deploy_image>
+    <image_installation config:type="boolean">false</image_installation>
+  </deploy_image>
   <firewall>
-    <FW_DEV_DMZ></FW_DEV_DMZ>
-    <FW_DEV_EXT></FW_DEV_EXT>
-    <FW_DEV_INT></FW_DEV_INT>
     <enable_firewall config:type="boolean">false</enable_firewall>
     <start_firewall config:type="boolean">false</start_firewall>
   </firewall>
@@ -65,11 +64,15 @@
     <ask-list config:type="list"/>
     <mode>
       <confirm config:type="boolean">false</confirm>
+      <final_halt config:type="boolean">true</final_halt>
+      <final_reboot config:type="boolean">false</final_reboot>
       <halt config:type="boolean">true</halt>
+      <second_stage config:type="boolean">true</second_stage>
     </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>
@@ -78,6 +81,7 @@
       <accept_verification_failed config:type="boolean">false</accept_verification_failed>
       <import_gpg_key config:type="boolean">true</import_gpg_key>
     </signature-handling>
+    <storage/>
   </general>
   <groups config:type="list">
     <group>
@@ -100,15 +104,17 @@
     </keyboard_values>
     <keymap>english-us</keymap>
   </keyboard>
+  <login_settings/>
   <networking>
     <dhcp_options>
-      <dhclient_additional_options></dhclient_additional_options>
-      <dhclient_client_id></dhclient_client_id>
       <dhclient_hostname_option>AUTO</dhclient_hostname_option>
     </dhcp_options>
     <dns>
       <dhcp_hostname config:type="boolean">true</dhcp_hostname>
-      <dhcp_resolv config:type="boolean">true</dhcp_resolv>
+      <domain>site</domain>
+      <hostname>linux-iy6l</hostname>
+      <resolv_conf_policy>auto</resolv_conf_policy>
+      <write_hostname config:type="boolean">false</write_hostname>
     </dns>
     <interfaces config:type="list">
       <interface>
@@ -118,6 +124,8 @@
         <usercontrol>no</usercontrol>
       </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>
       <ip_forward config:type="boolean">false</ip_forward>
@@ -154,20 +162,26 @@
     </yesno_messages>
   </report>
   <scripts>
-  <chroot-scripts config:type="list">
-    <script>
-      <chrooted config:type="boolean">true</chrooted>
-      <source>
-        <![CDATA[insserv autoyast
+    <chroot-scripts config:type="list">
+      <script>
+        <chrooted config:type="boolean">true</chrooted>
+        <debug config:type="boolean">true</debug>
+        <feedback config:type="boolean">false</feedback>
+        <feedback_type/>
+        <filename/>
+        <interpreter/>
+        <location><![CDATA[]]></location>
+        <notification/>
+        <source><![CDATA[insserv autoyast
 sed -i 's/^#S0\(.*\)9600\(.*\)/S0\1115200\2/g' /etc/inittab
-echo ttyS0 >> /etc/securetty]]>
-      </source>
-    </script>
-  </chroot-scripts>
+echo ttyS0 >> /etc/securetty]]></source>
+      </script>
+    </chroot-scripts>
     <init-scripts config:type="list">
       <script>
         <debug config:type="boolean">true</debug>
         <filename>config</filename>
+        <location><![CDATA[]]></location>
         <source><![CDATA[dhclient eth0
 chkconfig sshd on
 sed -i -e 's/\(PasswordAuthentication\s\)no/\1yes/g'  /etc/ssh/sshd_config
@@ -175,12 +189,40 @@
 ]]></source>
       </script>
     </init-scripts>
+    <post-scripts config:type="list">
+      <script>
+        <debug config:type="boolean">true</debug>
+        <feedback config:type="boolean">false</feedback>
+        <feedback_type/>
+        <filename>enable_sshd</filename>
+        <interpreter>shell</interpreter>
+        <location><![CDATA[]]></location>
+        <network_needed config:type="boolean">false</network_needed>
+        <notification/>
+        <source><![CDATA[systemctl enable sshd.service
+systemctl start sshd.service]]></source>
+      </script>
+      <script>
+        <debug config:type="boolean">true</debug>
+        <feedback config:type="boolean">false</feedback>
+        <feedback_type/>
+        <filename>shutdown_vm</filename>
+        <interpreter>shell</interpreter>
+        <location><![CDATA[]]></location>
+        <network_needed config:type="boolean">false</network_needed>
+        <notification/>
+        <source><![CDATA[atd && echo shutdown -h now | at now + 2 minutes]]></source>
+      </script>
+    </post-scripts>
     <pre-scripts config:type="list">
       <script>
         <debug config:type="boolean">true</debug>
         <feedback config:type="boolean">false</feedback>
+        <feedback_type/>
         <filename>disksetup</filename>
         <interpreter>shell</interpreter>
+        <location><![CDATA[]]></location>
+        <notification/>
         <source><![CDATA[ if fdisk -l | grep sda -c >0;then sed  -e 's/\(.*\/dev\/\)vda\(.*\)/\1sda\2/g' /tmp/profile/autoinst.xml>/tmp/profile/modified.xml; fi
 ]]></source>
       </script>
@@ -195,6 +237,7 @@
       <package>autoyast2-installation</package>
       <package>autoyast2-installation</package>
       <package>autoyast2-installation</package>
+      <package>git</package>
     </packages>
     <patterns config:type="list">
       <pattern>apparmor</pattern>
openSUSE Build Service is sponsored by