Skip to contentSkip to conversation

KVM test: tests_base.cfg updated with windows unattended install

PATCH In review Lucas Meneghel Rodrigues 2 participants 3 messages Jan 15, 2010 – Jan 20, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: tests_base.cfg updated with windows unattended install

Update the config file tests_base.cfg with the
recently added windows unattended install files
(r4109), so one is actually able to use them
on tests.

---
 client/tests/kvm/tests_base.cfg.sample |   40 +++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)
client/tests/kvm/tests_base.cfg.sample +39 -1
index b8f25f4..a41a848 100644
@@ -577,6 +577,9 @@ variants:
         cpu_chk_cmd = echo %NUMBER_OF_PROCESSORS%
         mem_chk_cmd = wmic memphysical
 
+        unattended_install:
+            timeout = 7200
+            finish_program = deps/finish.exe
         migrate:
             migration_test_command = ver && vol
             migration_bg_command = start ping -t localhost
@@ -648,7 +651,6 @@ variants:
                     md5sum = 743450644b1d9fe97b3cf379e22dceb0
                     md5sum_1m = b473bf75af2d1269fec8958cf0202bfd
                     unattended_file = unattended/winxp32.sif
-                    finish_program = deps/finish.exe
                 setup:
                     steps = WinXP-32-rss.steps
 
@@ -678,6 +680,11 @@ variants:
                             md5sum = 03e921e9b4214773c21a39f5c3f42ef7
                             md5sum_1m = 37c2fdec15ac4ec16aa10fdfdb338aa3
                             user = user
+                        unattended_install:
+                            cdrom = windows/Windows2003_r2_VLK.iso
+                            md5sum = 03e921e9b4214773c21a39f5c3f42ef7
+                            md5sum_1m = 37c2fdec15ac4ec16aa10fdfdb338aa3
+                            unattended_file = unattended/win2003-32.sif
                         setup:
                             steps = Win2003-32-rss.steps
 
@@ -689,9 +696,15 @@ variants:
                             md5sum = 5703f87c9fd77d28c05ffadd3354dbbd
                             md5sum_1m = 439393c384116aa09e08a0ad047dcea8
                             user = user
+                        unattended_install:
+                            cdrom = windows/Windows2003-x64.iso
+                            md5sum = 5703f87c9fd77d28c05ffadd3354dbbd
+                            md5sum_1m = 439393c384116aa09e08a0ad047dcea8
+                            unattended_file = unattended/win2003-64.sif
                         setup:
                             steps = Win2003-64-rss.steps
 
+
             - WinVista:
                 image_name = winvista
                 image_size = 20G
@@ -704,6 +717,11 @@ variants:
                             cdrom = windows/WindowsVista-32.iso
                             md5sum = 1008f323d5170c8e614e52ccb85c0491
                             md5sum_1m = c724e9695da483bc0fd59e426eaefc72
+                        unattended_install:
+                            cdrom = windows/WindowsVista-32.iso
+                            md5sum = 1008f323d5170c8e614e52ccb85c0491
+                            md5sum_1m = c724e9695da483bc0fd59e426eaefc72
+                            unattended_file = unattended/winvista-32-autounattend.xml
                         setup:
                             steps = WinVista-32-rss.steps
 
@@ -714,6 +732,11 @@ variants:
                             cdrom = windows/WindowsVista-64.iso
                             md5sum = 11e2010d857fffc47813295e6be6d58d
                             md5sum_1m = 0947bcd5390546139e25f25217d6f165
+                        unattended_install:
+                            cdrom = windows/WindowsVista-64.iso
+                            md5sum = 11e2010d857fffc47813295e6be6d58d
+                            md5sum_1m = 0947bcd5390546139e25f25217d6f165
+                            unattended_file = unattended/winvista-64-autounattend.xml
                         setup:
                             steps = WinVista-64-rss.steps
 
@@ -733,6 +756,11 @@ variants:
                             #sha1sum = 6CA018FF96F1E9B2B310A36546B6FDED99A421E6
                             md5sum=0bfca49f0164de0a8eba236ced47007d
                             md5sum_1m=07d7f5006393f74dc76e6e2e943e2440
+                        unattended_install:
+                            cdrom = windows/Windows2008-x86.iso
+                            md5sum=0bfca49f0164de0a8eba236ced47007d
+                            md5sum_1m=07d7f5006393f74dc76e6e2e943e2440
+                            unattended_file = unattended/win2008-32-autounattend.xml
                         setup:
                             steps = Win2008-32-rss.steps
 
@@ -746,6 +774,11 @@ variants:
                             md5sum=27c58cdb3d620f28c36333a5552f271c
                             md5sum_1m=efdcc11d485a1ef9afa739cb8e0ca766
                             passwd = 1q2w3eP
+                        unattended_install:
+                            cdrom = windows/Windows2008-x64.iso
+                            md5sum=27c58cdb3d620f28c36333a5552f271c
+                            md5sum_1m=efdcc11d485a1ef9afa739cb8e0ca766
+                            unattended_file = unattended/win2008-64-autounattend.xml
                         setup:
                             steps = Win2008-64-rss.steps
 
@@ -765,6 +798,11 @@ variants:
                             type = steps
                             steps = Win7-64.steps
                             passwd = 1q2w3eP
+                        unattended_install:
+                            cdrom = windows/en_windows_7_ultimate_x64_dvd_x15-65922.iso
+                            md5sum=f43d22e4fb07bf617d573acd8785c028
+                            md5sum_1m=b44d8cf99dbed2a5cb02765db8dfd48f
+                            unattended_file = unattended/win7-64-autounattend.xml
                         setup:
                             type = steps
                             steps = Win7-64-rss.steps
Signature · 1 line
1.6.5.2
#1 lore raw
Quoted 48 lines · ----- "Lucas Meneghel Rodrigues

Update the config file tests_base.cfg with the
recently added windows unattended install files
(r4109), so one is actually able to use them
on tests.

---
 client/tests/kvm/tests_base.cfg.sample |   40
+++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)
client/tests/kvm/tests_base.cfg.sample +3 -1
index b8f25f4..a41a848 100644
@@ -577,6 +577,9 @@ variants:
         cpu_chk_cmd = echo %NUMBER_OF_PROCESSORS%
         mem_chk_cmd = wmic memphysical
 
+        unattended_install:
+            timeout = 7200
+            finish_program = deps/finish.exe
         migrate:
             migration_test_command = ver && vol
             migration_bg_command = start ping -t localhost
@@ -648,7 +651,6 @@ variants:
                     md5sum = 743450644b1d9fe97b3cf379e22dceb0
                     md5sum_1m = b473bf75af2d1269fec8958cf0202bfd
                     unattended_file = unattended/winxp32.sif
-                    finish_program = deps/finish.exe
                 setup:
                     steps = WinXP-32-rss.steps
 
@@ -678,6 +680,11 @@ variants:
                             md5sum =

03e921e9b4214773c21a39f5c3f42ef7

                             md5sum_1m =

37c2fdec15ac4ec16aa10fdfdb338aa3
user = user

client/tests/kvm/tests_base.cfg.sample +3 -0
+                        unattended_install:
+                            cdrom = windows/Windows2003_r2_VLK.iso
+                            md5sum =

03e921e9b4214773c21a39f5c3f42ef7
+ md5sum_1m =
37c2fdec15ac4ec16aa10fdfdb338aa3
+ unattended_file =
unattended/win2003-32.sif

Quoted 2 lines
                         setup:
                             steps = Win2003-32-rss.steps

Some code can be saved by using the fact that install and unattended_install use the same ISOs:

install|unattended_install:

    cdrom = windows/Windows2003_r2_VLK.iso
    md5sum = 03e921e9b4214773c21a39f5c3f42ef7
    md5sum_1m = 37c2fdec15ac4ec16aa10fdfdb338aa3
install:
    user = user
unattended_install:
    unattended_file = unattended/win2003-32.sif

It's not important, just an alternative to consider.

Quoted 109 lines
client/tests/kvm/tests_base.cfg.sample +0 -0
@@ -689,9 +696,15 @@ variants:
                             md5sum =

5703f87c9fd77d28c05ffadd3354dbbd

                             md5sum_1m =

439393c384116aa09e08a0ad047dcea8
user = user

client/tests/kvm/tests_base.cfg.sample +3 -0
+                        unattended_install:
+                            cdrom = windows/Windows2003-x64.iso
+                            md5sum =

5703f87c9fd77d28c05ffadd3354dbbd
+ md5sum_1m =
439393c384116aa09e08a0ad047dcea8
+ unattended_file =
unattended/win2003-64.sif

                         setup:
                             steps = Win2003-64-rss.steps
client/tests/kvm/tests_base.cfg.sample +1 -0
+
             - WinVista:
                 image_name = winvista
                 image_size = 20G
@@ -704,6 +717,11 @@ variants:
                             cdrom = windows/WindowsVista-32.iso
                             md5sum =

1008f323d5170c8e614e52ccb85c0491

                             md5sum_1m =

c724e9695da483bc0fd59e426eaefc72

client/tests/kvm/tests_base.cfg.sample +3 -0
+                        unattended_install:
+                            cdrom = windows/WindowsVista-32.iso
+                            md5sum =

1008f323d5170c8e614e52ccb85c0491
+ md5sum_1m =
c724e9695da483bc0fd59e426eaefc72
+ unattended_file =
unattended/winvista-32-autounattend.xml
setup:
steps = WinVista-32-rss.steps

client/tests/kvm/tests_base.cfg.sample +0 -0
@@ -714,6 +732,11 @@ variants:
                             cdrom = windows/WindowsVista-64.iso
                             md5sum =

11e2010d857fffc47813295e6be6d58d

                             md5sum_1m =

0947bcd5390546139e25f25217d6f165

client/tests/kvm/tests_base.cfg.sample +3 -0
+                        unattended_install:
+                            cdrom = windows/WindowsVista-64.iso
+                            md5sum =

11e2010d857fffc47813295e6be6d58d
+ md5sum_1m =
0947bcd5390546139e25f25217d6f165
+ unattended_file =
unattended/winvista-64-autounattend.xml
setup:
steps = WinVista-64-rss.steps

client/tests/kvm/tests_base.cfg.sample +0 -0
@@ -733,6 +756,11 @@ variants:
                             #sha1sum =

6CA018FF96F1E9B2B310A36546B6FDED99A421E6

                             md5sum=0bfca49f0164de0a8eba236ced47007d

md5sum_1m=07d7f5006393f74dc76e6e2e943e2440

client/tests/kvm/tests_base.cfg.sample +4 -0
+                        unattended_install:
+                            cdrom = windows/Windows2008-x86.iso
+                            md5sum=0bfca49f0164de0a8eba236ced47007d
+                           

md5sum_1m=07d7f5006393f74dc76e6e2e943e2440
+ unattended_file =
unattended/win2008-32-autounattend.xml

                         setup:
                             steps = Win2008-32-rss.steps
client/tests/kvm/tests_base.cfg.sample +0 -0
@@ -746,6 +774,11 @@ variants:
                             md5sum=27c58cdb3d620f28c36333a5552f271c
 

md5sum_1m=efdcc11d485a1ef9afa739cb8e0ca766
passwd = 1q2w3eP

client/tests/kvm/tests_base.cfg.sample +4 -0
+                        unattended_install:
+                            cdrom = windows/Windows2008-x64.iso
+                            md5sum=27c58cdb3d620f28c36333a5552f271c
+                           

md5sum_1m=efdcc11d485a1ef9afa739cb8e0ca766
+ unattended_file =
unattended/win2008-64-autounattend.xml

                         setup:
                             steps = Win2008-64-rss.steps
client/tests/kvm/tests_base.cfg.sample +2 -0
@@ -765,6 +798,11 @@ variants:
                             type = steps
                             steps = Win7-64.steps
                             passwd = 1q2w3eP
+                        unattended_install:
+                            cdrom =

windows/en_windows_7_ultimate_x64_dvd_x15-65922.iso

client/tests/kvm/tests_base.cfg.sample +2 -0
+                            md5sum=f43d22e4fb07bf617d573acd8785c028
+                           

md5sum_1m=b44d8cf99dbed2a5cb02765db8dfd48f
+ unattended_file =
unattended/win7-64-autounattend.xml
setup:
type = steps steps = Win7-64-rss.steps

Signature · 6 lines
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 65 lines · Michael Goldish
Quoted 48 lines · ----- "Lucas Meneghel Rodrigues

Update the config file tests_base.cfg with the
recently added windows unattended install files
(r4109), so one is actually able to use them
on tests.

---
 client/tests/kvm/tests_base.cfg.sample |   40
+++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)
client/tests/kvm/tests_base.cfg.sample +3 -1
index b8f25f4..a41a848 100644
@@ -577,6 +577,9 @@ variants:
         cpu_chk_cmd = echo %NUMBER_OF_PROCESSORS%
         mem_chk_cmd = wmic memphysical
 
+        unattended_install:
+            timeout = 7200
+            finish_program = deps/finish.exe
         migrate:
             migration_test_command = ver && vol
             migration_bg_command = start ping -t localhost
@@ -648,7 +651,6 @@ variants:
                     md5sum = 743450644b1d9fe97b3cf379e22dceb0
                     md5sum_1m = b473bf75af2d1269fec8958cf0202bfd
                     unattended_file = unattended/winxp32.sif
-                    finish_program = deps/finish.exe
                 setup:
                     steps = WinXP-32-rss.steps
 
@@ -678,6 +680,11 @@ variants:
                             md5sum =

03e921e9b4214773c21a39f5c3f42ef7

                             md5sum_1m =

37c2fdec15ac4ec16aa10fdfdb338aa3
user = user

client/tests/kvm/tests_base.cfg.sample +3 -0
+                        unattended_install:
+                            cdrom = windows/Windows2003_r2_VLK.iso
+                            md5sum =

03e921e9b4214773c21a39f5c3f42ef7
+ md5sum_1m =
37c2fdec15ac4ec16aa10fdfdb338aa3
+ unattended_file =
unattended/win2003-32.sif

Quoted 2 lines
                         setup:
                             steps = Win2003-32-rss.steps

Some code can be saved by using the fact that install and unattended_install use the same ISOs:

install|unattended_install:

    cdrom = windows/Windows2003_r2_VLK.iso
    md5sum = 03e921e9b4214773c21a39f5c3f42ef7
    md5sum_1m = 37c2fdec15ac4ec16aa10fdfdb338aa3
install:
    user = user
unattended_install:
    unattended_file = unattended/win2003-32.sif
Quoted 1 line

It's not important, just an alternative to consider.

Good point, we should probably go over the config files upstream and do all these small adjustments.