Index: client/tests/kvm/unattended/Fedora-14.ks |
diff --git a/client/tests/kvm/unattended/Fedora-14.ks b/client/tests/kvm/unattended/Fedora-14.ks |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9b99432cab302817b4888b3f4e30a8a59034f641 |
--- /dev/null |
+++ b/client/tests/kvm/unattended/Fedora-14.ks |
@@ -0,0 +1,37 @@ |
+install |
+KVM_TEST_MEDIUM |
+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 --append="rd_NO_PLYMOUTH console=tty0 console=ttyS0,115200" |
+zerombr |
+ |
+clearpart --all --initlabel |
+autopart |
+ |
+%packages |
+@base |
+@development-libs |
+@development-tools |
+%end |
+ |
+%post --interpreter /usr/bin/python |
+import socket, os |
+os.system('dhclient') |
+os.system('chkconfig sshd on') |
+os.system('iptables -F') |
+os.system('echo 0 > /selinux/enforce') |
+server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
+server.bind(('', 12323)) |
+server.listen(1) |
+(client, addr) = server.accept() |
+client.send("done") |
+client.close() |
+%end |