Home | History | Annotate | Download | only in unattended
      1 install
      2 KVM_TEST_MEDIUM
      3 text
      4 reboot
      5 lang en_US.UTF-8
      6 langsupport --default=en_US.UTF-8 en_US.UTF-9
      7 keyboard us
      8 network --bootproto dhcp
      9 rootpw 123456
     10 firewall --enabled --ssh
     11 timezone America/New_York
     12 firstboot --disable
     13 bootloader --location=mbr --append="console=tty0 console=ttyS0,115200"
     14 clearpart --all --initlabel
     15 autopart
     16 reboot
     17 mouse generic3ps/2
     18 skipx
     19 
     20 %packages --resolvedeps
     21 @ base
     22 @ development-libs
     23 @ development-tools
     24 ntp
     25 
     26 %post --interpreter /usr/bin/python
     27 import socket, os
     28 os.system('/bin/ifconfig eth0 10.0.2.15 netmask 255.255.255.0 up')
     29 os.system('/bin/route add default gw 10.0.2.2')
     30 os.system('chkconfig sshd on')
     31 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
     32 server.bind(('', 12323))
     33 server.listen(1)
     34 (client, addr) = server.accept()
     35 client.send("done")
     36 client.close()
     37