# Sample Kickstart file for creating bootable ISO with dsu # # This is only a sample configuration and not officially supported by Dell. # The package selection, configurations and scripts should be changed according to user requirements and system configurations. # sshpw --username=root --plaintext p@sswordString # Firewall configuration firewall --disabled # Use network installation #url --url=file:///root/c/ #Edit the URLs below to point appropriate repositories repo --name=optional --baseurl=http://centos.com/7.0.1406/os/x86_64/ repo --name=dsurepo --baseurl=http://linux.dell.com/repo/hardware/latest/os_independent/ # Root password rootpw --plaintext removethispw # Network information network --bootproto=dhcp --onboot=on --activate --device=link # System authorization information auth --useshadow --enablemd5 # System keyboard keyboard --xlayouts=us --vckeymap=us # System language lang en_US.UTF-8 # SELinux configuration selinux --disabled # Installation logging level logging --level=info # Shutdown after installation shutdown # System timezone timezone US/Eastern # System bootloader configuration bootloader --location=mbr # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all # Disk partitioning information part / --fstype="ext4" --size=3000 part swap --size=1000 %post # Remove root password passwd -d root > /dev/null # Remove random-seed rm /var/lib/systemd/random-seed %end %packages --excludedocs @core libstdc++ libxml2 kernel yum syslinux firewalld grub2-efi shim dell-system-update nfs-utils net-tools -dracut-config-rescue -NetworkManager -NetworkManager-tui -NetworkManager-glib %end %post --nochroot %end %post cat > /etc/fstab << 'EOG' /dev/root / ext4 defaults,noatime 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 tmpfs /opt tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 EOG cat >> /etc/rc.d/rc.local <<'EOG' /usr/bin/custommount EOG cat > /usr/bin/custommount <<'EOG' dhclient EOG chmod 777 /usr/bin/custommount chmod 777 /etc/rc.d/rc.local rm -rf /etc/yum.repos.d/CentOS* mkdir -p /etc/yum.repos.d/ cat > /etc/yum.repos.d/dell-system-update.repo <<'EOG' [dell-system-update_independent] name=dell-system-update_independent baseurl=http://linux.dell.com/repo/hardware/dsu/os_independent/ gpgcheck=1 gpgkey=http://linux.dell.com/repo/hardware/dsu/public.key enabled=1 exclude=dell-system-update*.i386 [dell-system-update_dependent] name=dell-system-update_dependent mirrorlist=http://linux.dell.com/repo/hardware/dsu/mirrors.cgi?osname=el$releasever&basearch=$basearch&native=1 gpgcheck=1 gpgkey=http://linux.dell.com/repo/hardware/dsu/public.key enabled=1 EOG yum clean all %end