# Install, not upgrade install # Install from a friendly mirror and add updates url --url=http://www.nic.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/17/Fedora/x86_64/os/ repo --name=updates # Language and keyboard setup lang en_US.UTF-8 keyboard us # Configure STATIC networking without IPv6, firewall off network --onboot=yes --device=eth0 --bootproto=static --ip= --netmask= --gateway= --nameserver= --noipv6 --hostname= firewall --disabled # Set timezone timezone Europe/Tallinn # Authentication rootpw authconfig --enableshadow --passalgo=sha512 # SELinux selinux --disabled # Services running at boot services --enabled network,sshd # Disable anything graphical skipx text # Setup the disk zerombr clearpart --all --drives=xvda part / --fstype=ext3 --grow --size=1024 --asprimary part swap --size=4096 bootloader --location=none --timeout=5 --driveorder=xvda # Shutdown when the kickstart is done halt # Minimal package set %packages --excludedocs man man-pages yum-presto %end # Add in an old-style grub.conf to make XenServer's pygrub happy %post KERNELSTRING=`rpm -q kernel --queryformat='%{VERSION}-%{RELEASE}.%{ARCH}\n' | tail -n 1` cat > /boot/grub/grub.conf <