Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: client/tests/kvm/unattended/RHEL-5-series.ks

Issue 6246035: Merge remote branch 'cros/upstream' into master (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 install 1 install
2 KVM_TEST_MEDIUM 2 KVM_TEST_MEDIUM
3 text 3 text
4 reboot 4 reboot
5 lang en_US.UTF-8 5 lang en_US.UTF-8
6 keyboard us 6 keyboard us
7 key --skip 7 key --skip
8 network --bootproto dhcp 8 network --bootproto dhcp
9 rootpw 123456 9 rootpw 123456
10 firewall --enabled --ssh 10 firewall --enabled --ssh
11 selinux --enforcing 11 selinux --enforcing
12 timezone --utc America/New_York 12 timezone --utc America/New_York
13 firstboot --disable 13 firstboot --disable
14 bootloader --location=mbr --append="console=tty0 console=ttyS0,115200" 14 bootloader --location=mbr --append="console=tty0 console=ttyS0,115200"
15 zerombr 15 zerombr
16 clearpart --all --initlabel 16 clearpart --all --initlabel
17 autopart 17 autopart
18 reboot 18 reboot
19 19
20 %packages 20 %packages
21 @base 21 @base
22 @development-libs 22 @development-libs
23 @development-tools 23 @development-tools
24 kexec-tools
24 25
25 %post --interpreter /usr/bin/python 26 %post --interpreter /usr/bin/python
26 import socket, os 27 import socket, os
27 os.system('dhclient') 28 os.system('dhclient')
28 os.system('chkconfig sshd on') 29 os.system('chkconfig sshd on')
29 os.system('iptables -F') 30 os.system('iptables -F')
30 os.system('echo 0 > /selinux/enforce') 31 os.system('echo 0 > /selinux/enforce')
31 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 32 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
32 server.bind(('', 12323)) 33 server.bind(('', 12323))
33 server.listen(1) 34 server.listen(1)
34 (client, addr) = server.accept() 35 (client, addr) = server.accept()
35 client.send("done") 36 client.send("done")
36 client.close() 37 client.close()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698