diff mbox

Added two sample unattended config files, Fedora and Windows

Message ID 1245361860-26726-5-git-send-email-dhuff@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Huff June 18, 2009, 9:50 p.m. UTC
You must add your own product key to the windows config file.
---
 client/tests/kvm/unattended/Fedora-11-i386.ks |   24 +++++++++++
 client/tests/kvm/unattended/WinXP-32.sif      |   52 +++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 0 deletions(-)
 create mode 100644 client/tests/kvm/unattended/Fedora-11-i386.ks
 create mode 100644 client/tests/kvm/unattended/WinXP-32.sif

Comments

Yaniv Kaul June 19, 2009, 7:07 a.m. UTC | #1
On 6/19/2009 12:50 AM, David Huff wrote:
> You must add your own product key to the windows config file.
> ---
>   client/tests/kvm/unattended/Fedora-11-i386.ks |   24 +++++++++++
>   client/tests/kvm/unattended/WinXP-32.sif      |   52 +++++++++++++++++++++++++
>   2 files changed, 76 insertions(+), 0 deletions(-)
>   create mode 100644 client/tests/kvm/unattended/Fedora-11-i386.ks
>   create mode 100644 client/tests/kvm/unattended/WinXP-32.sif
>
> diff --git a/client/tests/kvm/unattended/Fedora-11-i386.ks b/client/tests/kvm/unattended/Fedora-11-i386.ks
> new file mode 100644
> index 0000000..da2f1ed
> --- /dev/null
> +++ b/client/tests/kvm/unattended/Fedora-11-i386.ks
> @@ -0,0 +1,24 @@
> +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
> +
> diff --git a/client/tests/kvm/unattended/WinXP-32.sif b/client/tests/kvm/unattended/WinXP-32.sif
> new file mode 100644
> index 0000000..196e193
> --- /dev/null
> +++ b/client/tests/kvm/unattended/WinXP-32.sif
> @@ -0,0 +1,52 @@
> +[Data]
> +AutoPartition = 1
> +MsDosInitiated = 0
> +UnattendedInstall = Yes
> +
> +[Unattended]
> +UnattendMode = FullUnattended
> +OemSkipEula = Yes
> +OemPreinstall = No
> +UnattendSwitch = Yes
> +CrashDumpSetting = 1
> +DriverSigningPolicy = ignore
> +WaitForReboot = no
> +Repartition = yes
> +
> +[GuiUnattended]
> +AdminPassword = 123456
> +AutoLogon = Yes
> +AutoLogonCount = 5
> +OEMSkipRegional = 1
> +TimeZone = 85
> +OemSkipWelcome = 1
> +
> +[UserData]
> +FullName = "QumranetUser"
> +OrgName = "Qumranet"
>    
Lets change this...
Y.
> +ComputerName = *
> +ProductKey =
> +
> +[Identification]
> +
> +[Networking]
> +
> +[Components]
> +dialer = off
> +media_clips = off
> +media_utopia = off
> +msnexplr = off
> +netoc = off
> +OEAccess = off
> +templates = off
> +WMAccess = off
> +zonegames = off
> +
> +[TerminalServices]
> +AllowConnections = 1
> +
> +[WindowsFirewall]
> +Profiles = WindowsFirewall.TurnOffFirewall
> +[WindowsFirewall.TurnOffFirewall]
> +Mode = 0
> +
>    

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Uri Lublin June 28, 2009, 10:14 a.m. UTC | #2
On 06/19/2009 12:50 AM, David Huff wrote:
> You must add your own product key to the windows config file.
> ---
>   client/tests/kvm/unattended/Fedora-11-i386.ks |   24 +++++++++++
>   client/tests/kvm/unattended/WinXP-32.sif      |   52 +++++++++++++++++++++++++
>   2 files changed, 76 insertions(+), 0 deletions(-)
>   create mode 100644 client/tests/kvm/unattended/Fedora-11-i386.ks
>   create mode 100644 client/tests/kvm/unattended/WinXP-32.sif
>
> diff --git a/client/tests/kvm/unattended/Fedora-11-i386.ks b/client/tests/kvm/unattended/Fedora-11-i386.ks
> new file mode 100644
> index 0000000..da2f1ed
> --- /dev/null
> +++ b/client/tests/kvm/unattended/Fedora-11-i386.ks
> @@ -0,0 +1,24 @@
> +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

We want gcc too, so guests would be able to run autotest tests (that require gcc).

> +%end
> +
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/client/tests/kvm/unattended/Fedora-11-i386.ks b/client/tests/kvm/unattended/Fedora-11-i386.ks
new file mode 100644
index 0000000..da2f1ed
--- /dev/null
+++ b/client/tests/kvm/unattended/Fedora-11-i386.ks
@@ -0,0 +1,24 @@ 
+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
+
diff --git a/client/tests/kvm/unattended/WinXP-32.sif b/client/tests/kvm/unattended/WinXP-32.sif
new file mode 100644
index 0000000..196e193
--- /dev/null
+++ b/client/tests/kvm/unattended/WinXP-32.sif
@@ -0,0 +1,52 @@ 
+[Data]
+AutoPartition = 1
+MsDosInitiated = 0
+UnattendedInstall = Yes
+
+[Unattended]
+UnattendMode = FullUnattended
+OemSkipEula = Yes
+OemPreinstall = No
+UnattendSwitch = Yes
+CrashDumpSetting = 1
+DriverSigningPolicy = ignore
+WaitForReboot = no
+Repartition = yes
+
+[GuiUnattended]
+AdminPassword = 123456
+AutoLogon = Yes
+AutoLogonCount = 5
+OEMSkipRegional = 1
+TimeZone = 85
+OemSkipWelcome = 1
+
+[UserData]
+FullName = "QumranetUser"
+OrgName = "Qumranet"
+ComputerName = *
+ProductKey =
+
+[Identification]
+
+[Networking]
+
+[Components]
+dialer = off
+media_clips = off
+media_utopia = off
+msnexplr = off
+netoc = off
+OEAccess = off
+templates = off
+WMAccess = off
+zonegames = off
+
+[TerminalServices]
+AllowConnections = 1
+
+[WindowsFirewall]
+Profiles = WindowsFirewall.TurnOffFirewall
+[WindowsFirewall.TurnOffFirewall]
+Mode = 0
+