Introduce support to Debian 6.0.7 x86_64. I happened to
be working on a related subject, so I took the chance and
added support to it. It comes with a download asset file,
which means you can conveniently download it.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 shared/cfg/guest-os/Linux/Debian.cfg              |  9 +++++
 shared/cfg/guest-os/Linux/Debian/6.0.7.x86_64.cfg | 12 +++++++
 shared/downloads/debian-6-0-7-64.ini              |  4 +++
 shared/unattended/Debian-6.0.7.preseed            | 41 +++++++++++++++++++++++
 4 files changed, 66 insertions(+)
 create mode 100644 shared/cfg/guest-os/Linux/Debian.cfg
 create mode 100644 shared/cfg/guest-os/Linux/Debian/6.0.7.x86_64.cfg
 create mode 100644 shared/downloads/debian-6-0-7-64.ini
 create mode 100644 shared/unattended/Debian-6.0.7.preseed

diff --git a/shared/cfg/guest-os/Linux/Debian.cfg 
b/shared/cfg/guest-os/Linux/Debian.cfg
new file mode 100644
index 0000000..7640792
--- /dev/null
+++ b/shared/cfg/guest-os/Linux/Debian.cfg
@@ -0,0 +1,9 @@
+- Debian:
+    shell_prompt = "^root@.*[\#\$]\s*$"
+    password = 12345678
+    image_name = images/debian
+    unattended_install:
+        kernel = linux
+        initrd = initrd
+        wait_no_ack = yes
+        kernel_params = "console=ttyS0,115200 console=tty0"
diff --git a/shared/cfg/guest-os/Linux/Debian/6.0.7.x86_64.cfg 
b/shared/cfg/guest-os/Linux/Debian/6.0.7.x86_64.cfg
new file mode 100644
index 0000000..fbdc4bc
--- /dev/null
+++ b/shared/cfg/guest-os/Linux/Debian/6.0.7.x86_64.cfg
@@ -0,0 +1,12 @@
+- 6.0.7.x86_64:
+    image_name += -6-0-7-64
+    vm_arch_name = x86_64
+    unattended_install:
+        kernel = images/debian-6-0-7-64/vmlinuz
+        initrd = images/debian-6-0-7-64/initrd.gz
+        boot_path = install.amd
+    unattended_install.cdrom:
+        unattended_file = unattended/Debian-6.0.7.preseed
+        cdrom_cd1 = isos/linux/debian-6.0.7-amd64-CD-1.iso
+        md5sum_cd1 = 8f0e86d19bc90768da08cdafb4f9edbb
+        md5sum_1m_cd1 = 95bb09b3156dc9a2bf08203ae1b8eef5 
diff --git a/shared/downloads/debian-6-0-7-64.ini 
b/shared/downloads/debian-6-0-7-64.ini
new file mode 100644
index 0000000..b6ae649
--- /dev/null
+++ b/shared/downloads/debian-6-0-7-64.ini
@@ -0,0 +1,4 @@
+[debian-6-0-7-x86_64]
+title = Debian 6.0.7 x86_64 DVD
+url = 
http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-6.0.7-amd64-CD-1.iso
+destination = isos/linux/debian-6.0.7-amd64-CD-1.iso
diff --git a/shared/unattended/Debian-6.0.7.preseed 
b/shared/unattended/Debian-6.0.7.preseed
new file mode 100644
index 0000000..9d2dceb
--- /dev/null
+++ b/shared/unattended/Debian-6.0.7.preseed
@@ -0,0 +1,41 @@
+debconf debconf/priority string critical
+unknown debconf/priority string critical
+d-i debconf/priority string critical
+d-i debian-installer/locale string en_US
+d-i console-tools/archs select at
+d-i console-keymaps-at/keymap select us
+
+d-i netcfg/choose_interface select auto
+d-i netcfg/get_hostname string autotest-debian-guest
+d-i netcfg/get_domain string virt-tests
+d-i netcfg/wireless_wep string
+
+d-i clock-setup/utc boolean true
+d-i time/zone string US/Eastern
+
+d-i partman-auto/method string regular
+d-i partman-auto/choose_recipe select home
+d-i partman/confirm_write_new_label boolean true
+d-i partman/choose_partition select finish
+d-i partman/confirm boolean true
+d-i partman/confirm_nooverwrite boolean true
+
+d-i passwd/root-login boolean true
+d-i passwd/make-user boolean false
+d-i passwd/root-password password 12345678
+d-i passwd/root-password-again password 12345678
+
+d-i apt-setup/use_mirror boolean false
+
+tasksel tasksel/first multiselect standard
+
+d-i pkgsel/include string openssh-server build-essential
+
+d-i grub-installer/only_debian boolean true
+d-i grub-installer/with_other_os boolean true
+
+d-i apt-setup/security_host string
+base-config apt-setup/security-updates boolean false
+
+d-i finish-install/reboot_in_progress note
+d-i debian-installer/exit/poweroff boolean true
-- 
1.8.1.4

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to