[PATCH 2/2] KVM test: Adding new Fedora-nightly.ks unattended file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also, make a tiny change on Fedora-11.ks file by setting
up completely automated disk partitioning.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx>
---
 client/tests/kvm/unattended/Fedora-11.ks      |    7 ++--
 client/tests/kvm/unattended/Fedora-nightly.ks |   39 +++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 4 deletions(-)
 create mode 100644 client/tests/kvm/unattended/Fedora-nightly.ks

diff --git a/client/tests/kvm/unattended/Fedora-11.ks b/client/tests/kvm/unattended/Fedora-11.ks
index cfd30ea..23f1d8a 100644
--- a/client/tests/kvm/unattended/Fedora-11.ks
+++ b/client/tests/kvm/unattended/Fedora-11.ks
@@ -12,11 +12,9 @@ timezone --utc America/New_York
 firstboot --disable
 bootloader --location=mbr
 zerombr
-
 clearpart --all --initlabel
-part /boot  --fstype=ext3 --size=100
-part /      --fstype=ext3 --size=9000
-part swap   --fstype=swap --size=512
+autopart
+reboot
 
 %packages
 @admin-tools
@@ -39,3 +37,4 @@ client.connect(addr)
 client.sendto('done', addr)
 client.close()
 %end
+
diff --git a/client/tests/kvm/unattended/Fedora-nightly.ks b/client/tests/kvm/unattended/Fedora-nightly.ks
new file mode 100644
index 0000000..34191ff
--- /dev/null
+++ b/client/tests/kvm/unattended/Fedora-nightly.ks
@@ -0,0 +1,39 @@
+install
+cdrom
+text
+reboot
+lang en_US
+keyboard us
+key --skip
+network --bootproto dhcp
+rootpw 123456
+firewall --enabled --ssh
+selinux --enforcing
+timezone --utc America/New_York
+firstboot --disable
+bootloader --location=mbr
+zerombr
+clearpart --all --initlabel
+autopart
+reboot
+
+%packages
+@ admin-tools
+@ base
+@ core
+@ development-libs
+@ development-tools
+
+%post --interpreter /usr/bin/python
+import socket, os
+os.system('chkconfig sshd on')
+os.system('iptables -F')
+os.system('echo 0 > /selinux/enforce')
+port = 12323
+buf = 1024
+addr = ('10.0.2.2', port)
+client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+client.connect(addr)
+client.sendto('done', addr)
+client.close()
+
-- 
1.6.2.5

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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux