| OLD | NEW |
| (Empty) |
| 1 install | |
| 2 KVM_TEST_MEDIUM | |
| 3 text | |
| 4 reboot | |
| 5 lang en_US.UTF-8 | |
| 6 keyboard us | |
| 7 key --skip | |
| 8 network --bootproto dhcp | |
| 9 rootpw 123456 | |
| 10 firewall --enabled --ssh | |
| 11 selinux --enforcing | |
| 12 timezone --utc America/New_York | |
| 13 firstboot --disable | |
| 14 bootloader --location=mbr --append="console=tty0 console=ttyS0,115200" | |
| 15 zerombr | |
| 16 clearpart --all --initlabel | |
| 17 autopart | |
| 18 reboot | |
| 19 | |
| 20 %packages | |
| 21 @base | |
| 22 @core | |
| 23 @development | |
| 24 @additional-devel | |
| 25 @debugging-tools | |
| 26 @network-tools | |
| 27 NetworkManager | |
| 28 | |
| 29 %post --interpreter /usr/bin/python | |
| 30 import socket, os | |
| 31 os.system('dhclient') | |
| 32 os.system('chkconfig sshd on') | |
| 33 os.system('iptables -F') | |
| 34 os.system('echo 0 > /selinux/enforce') | |
| 35 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| 36 server.bind(('', 12323)) | |
| 37 server.listen(1) | |
| 38 (client, addr) = server.accept() | |
| 39 client.send("done") | |
| 40 client.close() | |
| OLD | NEW |