KVM test: Added floppy and tftp options to qemu command
PATCH 1/6 KVM test: Added floppy and tftp options to qemu command
This allows you to not specify the full path in the config file, appends to the image dir.
--- client/tests/kvm/kvm_vm.py | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
client/tests/kvm/kvm_vm.py +12 -0
@@ -264,6 +264,18 @@ class VM: iso = kvm_utils.get_path(root_dir, iso) qemu_cmd += " -cdrom %s" % iso + # We may want to add {floppy_otps} parameter for -fda + # {fat:floppy:}/path/. However vvfat is not usually recommended + floppy = params.get("floppy") + if floppy: + floppy = os.path.join(image_dir, floppy) + qemu_cmd += " -fda %s" % floppy + + tftp = params.get("tftp") + if tftp: + tftp = os.path.join(image_dir, tftp) + qemu_cmd += " -tftp %s" % tftp + extra_params = params.get("extra_params") if extra_params: qemu_cmd += " %s" % extra_params
Signature · 1 line
1.6.2.5
PATCH 2/6 KVM test: Introducing unattended install subtest
In order to resolve the question, 'how will the guest operating system tell the host operating system that the unattended install process finish', we took the simple approach and created a simple socket communication ack process: The test instantiates a server tcp socket on port 12323, and waits during a specified amount of time.
For guests, the vast majority of the unattended install processes can deal with executing commands at the end of the install process. Let's take advantage of that and make clients tell the server about the end of the process using simple programs that can do that. The implementation of that strategy varies trough different operating systems.
This is the kvm test implementation code, client programs will follow on later patches.
--- client/tests/kvm/tests/unattended_install.py | 45 ++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) create mode 100644 client/tests/kvm/tests/unattended_install.py
client/tests/kvm/tests/unattended_install.py new file +45 -0
@@ -0,0 +1,45 @@ +import logging, time, socket +from autotest_lib.client.common_lib import error +import kvm_utils, kvm_test_utils + + +def run_unattended_install(test, params, env): + """ + Unattended install test: + 1) Starts a VM with an appropriated setup to start an unattended OS install. + 2) Wait until the install reports to the install watcher its end. + + @param test: KVM test object. + @param params: Dictionary with the test parameters. + @param env: Dictionary with test environment. + """ + vm = kvm_utils.env_get_vm(env, params.get("main_vm")) + if not vm: + raise error.TestError("VM object not found in environment") + if not vm.is_alive(): + raise error.TestError("VM seems to be dead; Test requires a living VM") + + logging.info("Starting unattended install watch process") + server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + server.bind(('', 12323)) + server.listen(1) + + end_time = time.time() + float(params.get("timeout", 3000)) + + while True: + server.settimeout(end_time - time.time()) + try: + (client, addr) = server.accept() + except socket.timeout: + server.close() + raise error.TestFail('Timeout elapsed while waiting for install to ' + 'finish.') + msg = client.recv(1024) + logging.debug("Received '%s' from %s", msg, addr) + if msg == 'done': + logging.info('Guest reported successful installation') + server.close() + break + else: + logging.error('Got invalid string from client: %s.' % msg) +
Signature · 1 line
1.6.2.5
PATCH 3/6 KVM test: Add unattended install files for F11 and WinXP
For the purpose of developing the test, 2 operating systems were used, Fedora 11 and Windows XP 32 bit. This patch adds the unattended install files for each OS:
* Fedora 11: Fedora-11.ks
* Win XP: winnt.bat and winxp32.sif
Attention: Those files work great in case we use user mode networking. For TAP mode networking, kickstart templating needs to be implemented, and I will leave that for a later patch
--- client/tests/kvm/unattended/Fedora-11.ks | 36 +++++++++++++++ client/tests/kvm/unattended/winnt.bat | 12 +++++ client/tests/kvm/unattended/winxp32.sif | 72 ++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+), 0 deletions(-) create mode 100644 client/tests/kvm/unattended/Fedora-11.ks create mode 100644 client/tests/kvm/unattended/winnt.bat create mode 100644 client/tests/kvm/unattended/winxp32.sif
client/tests/kvm/unattended/Fedora-11.ks new file +36 -0
@@ -0,0 +1,36 @@ +install +cdrom +text +reboot +lang en_US +keyboard us +network --bootproto dhcp +rootpw 123456 +firewall --enabled --ssh +selinux --enforcing +timezone --utc America/New_York +firstboot --disable +bootloader --location=mbr +zerombr + +clearpart --all --initlabel +part /boot --fstype=ext3 --size=100 +part / --fstype=ext3 --size=2000 +part swap --fstype=swap --size=512 + +%packages +@ Base +%end + +%post --interpreter /usr/bin/python +import socket, os +os.system('iptables -F') +os.system('echo 0 > /selinux/enforce') +port = 12323 +buf = 1024 +addr = ('10.0.0.2', port) +client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +client.connect(addr) +client.sendto('done', addr) +client.close() +%end
client/tests/kvm/unattended/winnt.bat new file +12 -0
@@ -0,0 +1,12 @@ +@rem SetupMgrTag +@echo off + +rem +rem This is a SAMPLE batch script generated by Setup Manager. +rem If this script is moved from the location where it was generated, it may have to be modified. +rem + +set AnswerFile=.\winnt.sif +set SetupFiles=D:\i386 + +D:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile%
client/tests/kvm/unattended/winxp32.sif new file +72 -0
72 lines not on this page · raw message
Signature · 1 line
1.6.2.5
PATCH 4/6 KVM test: Add unattended install script
In order to make it possible to prepare the environment for the guests installation, we have to:
* Prepare a boot floppy for both windows and linux.
The boot floppy contains the unattended file, and in case of windows, it will also hold a program that can send to the server a ACK message. For Kickstart, we just built the client program that sends the message into the kickstart file.
* Prepare PXE boot for Linux guests. Will prepare a
location with the pxelinux.0 boot loader + the vmlinuz and initrd.img images used to do network boot.
As I pointed out, the script is in python due to project policy. At this point I strongly believe the environment scripts should be rather libraries that can use full use of the autotest API, but for a first pass I believe the script is good enough.
--- client/tests/kvm/scripts/unattended.py | 223 ++++++++++++++++++++++++++++++++ 1 files changed, 223 insertions(+), 0 deletions(-) create mode 100755 client/tests/kvm/scripts/unattended.py
client/tests/kvm/scripts/unattended.py new file +223 -0
@@ -0,0 +1,223 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +import os, sys, shutil, tempfile, re +import common + +""" +Simple script to setup unattended installs on KVM guests. +""" + +class SetupError(Exception): + """ + Simple wrapper for the builtin Exception class. + """ + pass + + +class UnattendedInstall: + """ + Creates a floppy disk image that will contain a config file for unattended + OS install. Optionally, sets up a PXE install server using qemu built in + TFTP and DHCP servers to install a particular operating system. The + parameters to the script are retrieved from environment variables. + """ + def __init__(self): + """ + Gets params from environment variables and sets class attributes. + """ + script_dir = os.path.dirname(sys.modules[__name__].__file__) + kvm_test_dir = os.path.abspath(os.path.join(script_dir, "..")) + images_dir = os.path.join(kvm_test_dir, 'images') + isos_dir = os.path.join(kvm_test_dir, 'isos') + self.deps_dir = os.path.join(kvm_test_dir, 'deps') + self.unattended_dir = os.path.join(kvm_test_dir, 'unattended') + + try: + tftp_root = os.environ['KVM_TEST_tftp'] + self.tftp_root = os.path.join(images_dir, tftp_root) + if not os.path.isdir(self.tftp_root): + os.makedirs(self.tftp_root) + except KeyError: + self.tftp_root = '' + + try: + self.kernel_args = os.environ['KVM_TEST_kernel_args'] + except KeyError: + self.kernel_args = '' + + try: + self.finish_program= os.environ['KVM_TEST_finish_program'] + except: + self.finish_program = None + + + cdrom_iso = os.environ['KVM_TEST_cdrom'] + self.unattended_file = os.environ['KVM_TEST_unattended_file'] + + self.qemu_img_bin = os.path.join(kvm_test_dir, 'qemu-img') + self.cdrom_iso = os.path.join(isos_dir, cdrom_iso) + self.floppy_mount = tempfile.mkdtemp(prefix='floppy_', dir='/tmp') + self.cdrom_mount = tempfile.mkdtemp(prefix='cdrom_', dir='/tmp') + self.floppy_img = os.path.join(images_dir, 'floppy.img') + + + def create_boot_floppy(self): + """ + Prepares a boot floppy by creating a floppy image file, mounting it and + copying an answer file (kickstarts for RH based distros, answer files + for windows) to it. After that the image is umounted. + """ + print "Creating boot floppy" + + if self.floppy_img: + os.remove(self.floppy_img) + #c_cmd = 'bximage -q -fd -size=1.44 %s' % (self.floppy_img) + c_cmd = '%s create -f raw %s 1440k' % (self.qemu_img_bin, self.floppy_img) + if os.system(c_cmd): + raise SetupError('Could not create floppy image.') + + f_cmd = 'mkfs.msdos -s 1 %s' % self.floppy_img + if os.system(f_cmd): + raise SetupError('Error formatting floppy image.') + + m_cmd = 'mount -o loop %s %s' % (self.floppy_img, self.floppy_mount) + if os.system(m_cmd): + raise SetupError('Could not mount floppy image.') + + if self.unattended_file.endswith('.sif'): + dest_fname = 'winnt.sif' + setup_file = 'winnt.bat' + setup_file_path = os.path.join(self.unattended_dir, setup_file) + setup_file_dest = os.path.join(self.floppy_mount, setup_file) + shutil.copyfile(setup_file_path, setup_file_dest) + elif self.unattended_file.endswith('.ks'): + dest_fname = 'ks.cfg' + + dest = os.path.join(self.floppy_mount, dest_fname) + shutil.copyfile(self.unattended_file, dest) + + if self.finish_program: + dest_fname = os.path.basename(self.finish_program) + dest = os.path.join(self.floppy_mount, dest_fname) + shutil.copyfile(self.finish_program, dest) + + u_cmd = 'umount %s' % self.floppy_mount + if os.system(u_cmd): + raise SetupError('Could not unmount floppy at %s.' % + self.floppy_mount) + + os.chmod(self.floppy_img, 0755) + + print "Boot floppy created successfuly" + + + def setup_pxe_boot(self): + """ + Sets up a PXE boot environment using the built in qemu TFTP server. + Copies the PXE Linux bootloader pxelinux.0 from the host (needs the + pxelinux package or equivalent for your distro), and vmlinuz and + initrd.img files from the CD to a directory that qemu will serve trough + TFTP to the VM. + """ + print "Setting up PXE boot using TFTP root %s" % self.tftp_root + + pxe_file = None + pxe_paths = ['/usr/lib/syslinux/pxelinux.0', + '/usr/share/syslinux/pxelinux.0'] + for path in pxe_paths: + if os.path.isfile(path): + pxe_file = path + break + + if not pxe_file: + raise SetupError('Cannot find PXE boot loader pxelinux.0. Make ' + 'sure pxelinux or equivalent package for your ' + 'distro is installed.') + + pxe_dest = os.path.join(self.tftp_root, 'pxelinux.0') + shutil.copyfile(pxe_file, pxe_dest) + + m_cmd = 'mount -t iso9660 -v -o loop %s %s' % (self.cdrom_iso, + self.cdrom_mount) + if os.system(m_cmd): + raise SetupError('Could not mount CD image %s.' % self.cdrom_iso) + + p = os.path.join('images', 'pxeboot') + pxe_dir = os.path.join(self.cdrom_mount, p) + pxe_image = os.path.join(pxe_dir, 'vmlinuz') + pxe_initrd = os.path.join(pxe_dir, 'initrd.img') + + if not os.path.isdir(pxe_dir): + raise SetupError('The ISO image does not have a %s dir. The script ' + 'assumes that the cd has a %s dir where to search ' + 'for the vmlinuz image.' % (p, p)) + + if not os.path.isfile(pxe_image) or not os.path.isfile(pxe_initrd): + raise SetupError('The location %s is lacking either a vmlinuz or a ' + 'initrd.img file. Cannot find a PXE image to ' + 'proceed.' % pxe_dir) + + tftp_image = os.path.join(self.tftp_root, 'vmlinuz') + tftp_initrd = os.path.join(self.tftp_root, 'initrd.img') + shutil.copyfile(pxe_image, tftp_image) + shutil.copyfile(pxe_initrd, tftp_initrd) + + u_cmd = 'umount %s' % self.cdrom_mount + if os.system(u_cmd): + raise SetupError('Could not unmount CD at %s.' % self.cdrom_mount) + + pxe_config_dir = os.path.join(self.tftp_root, 'pxelinux.cfg') + if not os.path.isdir(pxe_config_dir): + os.makedirs(pxe_config_dir) + pxe_config_path = os.path.join(pxe_config_dir, 'default') + + pxe_config = open(pxe_config_path, 'w') + pxe_config.write('DEFAULT pxeboot\n') + pxe_config.write('TIMEOUT 20\n') + pxe_config.write('PROMPT 0\n') + pxe_config.write('LABEL pxeboot\n') + pxe_config.write(' KERNEL vmlinuz\n') + pxe_config.write(' KERNEL vmlinuz\n') + pxe_config.write(' APPEND initrd=initrd.img %s\n' % + self.kernel_args) + pxe_config.close() + + print "PXE boot successfuly set" + + def cleanup(self): + """ + Clean up previously used mount points. + """ + print "Cleaning up unused mount points" + for mount in [self.floppy_mount, self.cdrom_mount]: + if os.path.isdir(mount): + if os.path.ismount(mount): + print "Path %s is still mounted, please verify" % mount + else: + print "Removing mount point %s" % mount + os.rmdir(mount) + + + def setup(self): + print "Starting unattended install setup" + + print "Variables set:" + print " qemu_img_bin: " + str(self.qemu_img_bin) + print " cdrom iso: " + str(self.cdrom_iso) + print " unattended_file: " + str(self.unattended_file) + print " kernel_args: " + str(self.kernel_args) + print " tftp_root: " + str(self.tftp_root) + print " floppy_mount: " + str(self.floppy_mount) + print " floppy_img: " + str(self.floppy_img) + print " finish_program: " + str(self.finish_program) + + self.create_boot_floppy() + if self.tftp_root: + self.setup_pxe_boot() + self.cleanup() + print "Unattended install setup finished successfuly" + + +if __name__ == "__main__": + os_install = UnattendedInstall() + os_install.setup()
Signature · 1 line
1.6.2.5
PATCH 5/6 KVM test: Utility to make windows guests ACK end of install
In order to make windows guests to tell the unattended install server that the install process ended, a simple C++ program using the winsock 2 API had to be developed. The program was based on an MSDN article. Its usage is
finish.exe [host-ip]
The test expect this to be compiled under deps. This can be accomplished on linux hosts that support the mingw cross compiling environment (or you can just compile it under your windows guest). For Fedora 11, the instructions are:
yum install mingw32-w32api mingw32-gcc-c++
i686-pc-mingw32-g++ finish.cpp -lws2_32 -o finish.exe
Binaries produced by this process work just fine on my tests. I still haven't made my mind about shipping binaries, with the test, so in the meantime you want to check this compile the code as you wish and put it under the same deps dir.
--- client/tests/kvm/deps/finish.cpp | 121 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 121 insertions(+), 0 deletions(-) create mode 100644 client/tests/kvm/deps/finish.cpp
client/tests/kvm/deps/finish.cpp new file +121 -0
@@ -0,0 +1,121 @@ +// Simple app that only sends an ack string to the KVM unattended install +// watch code. +// +// You must link this code with Ws2_32.lib, Mswsock.lib, and Advapi32.lib +// +// Author: Lucas Meneghel Rodrigues <[email protected]> +// Code was adapted from an MSDN sample. + +// Usage: finish.exe [Host OS IP] + +// MinGW's ws2tcpip.h only defines getaddrinfo and other functions only for +// the case _WIN32_WINNT >= 0x0501. +#ifdef __MINGW32__ +#undef _WIN32_WINNT +#define _WIN32_WINNT 0x501 +#endif + +#include <windows.h> +#include <winsock2.h> +#include <ws2tcpip.h> +#include <stdlib.h> +#include <stdio.h> + +#define DEFAULT_BUFLEN 512 +#define DEFAULT_PORT "12323" + +int main(int argc, char **argv) +{ + WSADATA wsaData; + SOCKET ConnectSocket = INVALID_SOCKET; + struct addrinfo *result = NULL, + *ptr = NULL, + hints; + char *sendbuf = "done"; + char recvbuf[DEFAULT_BUFLEN]; + int iResult; + int recvbuflen = DEFAULT_BUFLEN; + + // Validate the parameters + if (argc != 2) { + printf("usage: %s server-name\n", argv[0]); + return 1; + } + + // Initialize Winsock + iResult = WSAStartup(MAKEWORD(2,2), &wsaData); + if (iResult != 0) { + printf("WSAStartup failed: %d\n", iResult); + return 1; + } + + ZeroMemory( &hints, sizeof(hints) ); + hints.ai_family = AF_UNSPEC; + hints.ai_socktype = SOCK_STREAM; + hints.ai_protocol = IPPROTO_TCP; + + // Resolve the server address and port + iResult = getaddrinfo(argv[1], DEFAULT_PORT, &hints, &result); + if ( iResult != 0 ) { + printf("getaddrinfo failed: %d\n", iResult); + WSACleanup(); + return 1; + } + + // Attempt to connect to an address until one succeeds + for(ptr=result; ptr != NULL ;ptr=ptr->ai_next) { + + // Create a SOCKET for connecting to server + ConnectSocket = socket(ptr->ai_family, ptr->ai_socktype, + ptr->ai_protocol); + if (ConnectSocket == INVALID_SOCKET) { + printf("Error at socket(): %ld\n", WSAGetLastError()); + freeaddrinfo(result); + WSACleanup(); + return 1; + } + + // Connect to server. + iResult = connect( ConnectSocket, ptr->ai_addr, (int)ptr->ai_addrlen); + if (iResult == SOCKET_ERROR) { + closesocket(ConnectSocket); + ConnectSocket = INVALID_SOCKET; + continue; + } + break; + } + + freeaddrinfo(result); + + if (ConnectSocket == INVALID_SOCKET) { + printf("Unable to connect to server!\n"); + WSACleanup(); + return 1; + } + + // Send the ACK buffer + iResult = send( ConnectSocket, sendbuf, (int)strlen(sendbuf), 0 ); + if (iResult == SOCKET_ERROR) { + printf("send failed: %d\n", WSAGetLastError()); + closesocket(ConnectSocket); + WSACleanup(); + return 1; + } + + printf("Bytes Sent: %ld\n", iResult); + + // shutdown the connection since no more data will be sent + iResult = shutdown(ConnectSocket, SD_SEND); + if (iResult == SOCKET_ERROR) { + printf("shutdown failed: %d\n", WSAGetLastError()); + closesocket(ConnectSocket); + WSACleanup(); + return 1; + } + + // cleanup + closesocket(ConnectSocket); + WSACleanup(); + + return 0; +}
Signature · 1 line
1.6.2.5
PATCH 6/6 KVM test: kvm_tests.cfg.sample changes for unattended
In order to accomodate the unattended install test, some changes had to be made:
* Now cd isos and md5 sum values don't belong only
to the step file install only
* introduced the needed variables for the unattended
install test
* Created 2 test sets, winxp_unattended and fc11_unattended.
--- client/tests/kvm/kvm_tests.cfg.sample | 152 +++++++++++++++++++++++--------- 1 files changed, 109 insertions(+), 43 deletions(-)
client/tests/kvm/kvm_tests.cfg.sample +109 -43
@@ -49,6 +49,14 @@ variants: kill_vm_timeout = 60 kill_vm_timeout_on_error = 0 + - unattended_install: + type = unattended_install + kill_vm_on_error = yes + force_create_image = yes + pre_command = scripts/unattended.py + floppy = "floppy.img" + extra_params = "-boot d" + - setup: install type = steps fail_if_stuck_for = 300
@@ -244,36 +252,74 @@ variants: - 8.32: no setup image_name = fc8-32 + cdrom = linux/Fedora-8-i386-DVD.iso + md5sum = dd6c79fddfff36d409d02242e7b10189 + md5sum_1m = dabae451bb69fbbad0e505b25144b1f9 install: steps = Fedora-8-i386.steps - cdrom = linux/Fedora-8-i386-DVD.iso - md5sum = dd6c79fddfff36d409d02242e7b10189 - md5sum_1m = dabae451bb69fbbad0e505b25144b1f9 - 8.64: no setup image_name = fc8-64 + cdrom = linux/Fedora-8-x86_64-DVD.iso + md5sum = 2cb231a86709dec413425fd2f8bf5295 + md5sum_1m = 145f6414e19492649a56c89f0a45e719 install: steps = Fedora-8-64.steps - cdrom = linux/Fedora-8-x86_64-DVD.iso - md5sum = 2cb231a86709dec413425fd2f8bf5295 - md5sum_1m = 145f6414e19492649a56c89f0a45e719 - 9.32: image_name = fc9-32 + cdrom = linux/Fedora-9-i386-DVD.iso + md5sum = 72601f685ea8c808c303353d8bf4d307 + md5sum_1m = f24fa25689e5863f1b99984c6feb787f install: steps = Fedora-9-i386.steps - cdrom = linux/Fedora-9-i386-DVD.iso - md5sum = 72601f685ea8c808c303353d8bf4d307 - md5sum_1m = f24fa25689e5863f1b99984c6feb787f - 9.64: image_name = fc9-64 + cdrom = linux/Fedora-9-x86_64-DVD.iso + md5sum = 05b2ebeed273ec54d6f9ed3d61ea4c96 + md5sum_1m = 9822ab5097e37e8fe306ef2192727db4 install: steps = Fedora-9-64.steps - cdrom = linux/Fedora-9-x86_64-DVD.iso - md5sum = 05b2ebeed273ec54d6f9ed3d61ea4c96 - md5sum_1m = 9822ab5097e37e8fe306ef2192727db4 + + - 10.32: + image_name = fc10-32 + cdrom = linux/Fedora-10-i386-DVD.iso + md5sum = 27e581edb392728c4a07d00d3fc5ced0 + md5sum_1m = bd67c68bdf595e4ba7131ec702159181 + install: + steps = + unattended_install: + tftp = "tftpboot" + extra_params = "-bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/Fedora-10.ks + + - 11.32: + image_name = fc11-32 + cdrom = linux/Fedora-11-i386-DVD.iso + md5sum = e3b1e2d1ba42aa4705fa5f41771b3927 + md5sum_1m = dc8ddf90648c247339c721395aa49714 + install: + steps = + unattended_install: + tftp = "tftpboot" + extra_params = "-bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/Fedora-11.ks + + - 11.64: + image_name = fc11-64 + cdrom = linux/Fedora-11-x86_64-DVD.iso + md5sum = 9d419844adeb93120215fe7505c9bce8 + install: + steps = + unattended_install: + tftp = "tftpboot" + extra_params = "-bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/Fedora-11.ks - DSL-4.2.5: no setup dbench bonnie linux_s3
@@ -472,22 +518,22 @@ variants: no reboot image_name = win2000-32 kill_vm_gracefully = no + cdrom = windows/Windows2000_sp4.iso + md5sum = dda6039f3a9173f0f6bfae40f5efdfea + md5sum_1m = dd28fba196d366d56fe774bd93df5527 install: steps = Win2000-32.steps - cdrom = windows/Windows2000_sp4.iso - md5sum = dda6039f3a9173f0f6bfae40f5efdfea - md5sum_1m = dd28fba196d366d56fe774bd93df5527 user = user setup: steps = Win2000-32-rss.steps - WinXP.32: image_name = winXP-32 + cdrom = windows/WindowsXP-sp2-vlk.iso + md5sum = 743450644b1d9fe97b3cf379e22dceb0 + md5sum_1m = b473bf75af2d1269fec8958cf0202bfd install: steps = WinXP-32.steps - cdrom = windows/WindowsXP-sp2-vlk.iso - md5sum = 743450644b1d9fe97b3cf379e22dceb0 - md5sum_1m = b473bf75af2d1269fec8958cf0202bfd user = user setup: steps = WinXP-32-rss.steps
@@ -495,11 +541,11 @@ variants: - WinXP.64: no reboot image_name = winXP-64 + cdrom = windows/WindowsXP-64.iso + md5sum = 8d3f007ec9c2060cec8a50ee7d7dc512 + md5sum_1m = e812363ff427effc512b7801ee70e513 install: steps = WinXP-64.steps - cdrom = windows/WindowsXP-64.iso - md5sum = 8d3f007ec9c2060cec8a50ee7d7dc512 - md5sum_1m = e812363ff427effc512b7801ee70e513 user = user setup: steps = WinXP-64-rss.steps
@@ -512,22 +558,22 @@ variants: variants: - 32: image_name = win2003-32 + cdrom = windows/Windows2003_r2_VLK.iso + md5sum = 03e921e9b4214773c21a39f5c3f42ef7 + md5sum_1m = 37c2fdec15ac4ec16aa10fdfdb338aa3 install: steps = Win2003-32.steps - cdrom = windows/Windows2003_r2_VLK.iso - md5sum = 03e921e9b4214773c21a39f5c3f42ef7 - md5sum_1m = 37c2fdec15ac4ec16aa10fdfdb338aa3 user = user setup: steps = Win2003-32-rss.steps - 64: image_name = win2003-64 + cdrom = windows/Windows2003-x64.iso + md5sum = 5703f87c9fd77d28c05ffadd3354dbbd + md5sum_1m = 439393c384116aa09e08a0ad047dcea8 install: steps = Win2003-64.steps - cdrom = windows/Windows2003-x64.iso - md5sum = 5703f87c9fd77d28c05ffadd3354dbbd - md5sum_1m = 439393c384116aa09e08a0ad047dcea8 user = user setup: steps = Win2003-64-rss.steps
@@ -539,21 +585,21 @@ variants: variants: - 32: image_name += -32 + cdrom = windows/WindowsVista-32.iso + md5sum = 1008f323d5170c8e614e52ccb85c0491 + md5sum_1m = c724e9695da483bc0fd59e426eaefc72 install: steps = Win-Vista-32.steps - cdrom = windows/WindowsVista-32.iso - md5sum = 1008f323d5170c8e614e52ccb85c0491 - md5sum_1m = c724e9695da483bc0fd59e426eaefc72 setup: steps = WinVista-32-rss.steps - 64: image_name += -64 + cdrom = windows/WindowsVista-64.iso + md5sum = 11e2010d857fffc47813295e6be6d58d + md5sum_1m = 0947bcd5390546139e25f25217d6f165 install: steps = Win-Vista-64.steps - cdrom = windows/WindowsVista-64.iso - md5sum = 11e2010d857fffc47813295e6be6d58d - md5sum_1m = 0947bcd5390546139e25f25217d6f165 setup: steps = WinVista-64-rss.steps
@@ -566,25 +612,25 @@ variants: variants: - 32: image_name += -32 + cdrom = windows/Windows2008-x86.iso + #en_windows_server_2008_datacenter_enterprise_standard_x86_dvd_X14-26710.iso + #sha1sum = 6CA018FF96F1E9B2B310A36546B6FDED99A421E6 + md5sum=0bfca49f0164de0a8eba236ced47007d + md5sum_1m=07d7f5006393f74dc76e6e2e943e2440 install: steps = Win2008-32.steps - cdrom = windows/Windows2008-x86.iso - #en_windows_server_2008_datacenter_enterprise_standard_x86_dvd_X14-26710.iso - #sha1sum = 6CA018FF96F1E9B2B310A36546B6FDED99A421E6 - md5sum=0bfca49f0164de0a8eba236ced47007d - md5sum_1m=07d7f5006393f74dc76e6e2e943e2440 setup: steps = Win2008-32-rss.steps - 64: image_name += -64 + cdrom = windows/Windows2008-x64.iso + #en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso + #sha1sum = BD000374709F67E9358814DB6EC8F0DDAAA16F70 + md5sum=27c58cdb3d620f28c36333a5552f271c + md5sum_1m=efdcc11d485a1ef9afa739cb8e0ca766 install: steps = Win2008-64.steps - cdrom = windows/Windows2008-x64.iso - #en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso - #sha1sum = BD000374709F67E9358814DB6EC8F0DDAAA16F70 - md5sum=27c58cdb3d620f28c36333a5552f271c - md5sum_1m=efdcc11d485a1ef9afa739cb8e0ca766 passwd = 1q2w3eP setup: steps = Win2008-64-rss.steps
@@ -733,6 +779,26 @@ variants: - @custom: only qcow2.*ide.*default.*up.*Ubuntu-8.10-server.*(autotest.sleeptest) only rtl8139 + - @winXP_32_unattended: + only qcow2 + only ide + only default + only up + only WinXP.32 + no install setup + no kvm_hugepages + only unattended_install + only rtl8139 + - @fc11_kickstart: + only qcow2 + only ide + only default + only up + only Fedora.11.64 + no install setup + no kvm_hugepages + only unattended_install boot shutdown + only rtl8139 include kvm_cdkeys.cfg
Signature · 1 line
1.6.2.5