Skip to content

Instantly share code, notes, and snippets.

@jcpowermac
Created January 30, 2015 21:03
Show Gist options
  • Select an option

  • Save jcpowermac/724408049e0cf1df84ec to your computer and use it in GitHub Desktop.

Select an option

Save jcpowermac/724408049e0cf1df84ec to your computer and use it in GitHub Desktop.
Create CentOS 6.6 Live CD with Dell Tools
#livecd-creator -c livecd.ks --cache cache/
lang en_US.UTF-8
keyboard us
rootpw --plaintext raidconfig
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --append="crashkernel=auto rhgb quiet"
services --enabled=NetworkManager,sshd --disabled=network
part / --size 4096 --fstype ext4
firstboot --disable
repo --name="CentOS" --baseurl=http://mirror.rackspace.com/CentOS/6.6/os/x86_64/ --cost=100
repo --name="epel" --baseurl=http://fedora.mirrors.pair.com/epel/6/x86_64/ --cost=100
repo --name="dell" --baseurl=http://linux.dell.com/repo/hardware/latest/platform_independent/rh60_64/ --cost=100
%packages --nobase
@core
# Keep NetworkManager since it will automatically configure network adapters and run DHCP client
NetworkManager
# kernel is required for livecd-creator
kernel
perl-Pod-Escapes
perl-Module-Pluggable
perl-libs
perl-Pod-Simple
perl-version
perl
libsmbios
python-smbios
smbios-utils-python
yum-dellsysid
srvadmin-all
%post
# Dell software starts on boot kill it since it
# won't allow the unmount to complete
sync;sync
sleep 30s
killall sfcbd
sync;sync
sleep 30s
%end
@mtnbikenc
Copy link

> $ ksvalidator livecd.ks                                                                                                                    
Ignoring deprecated option on line 19:  The --nobase option has been deprecated and no longer has any effect.  It may be removed from future releases, which will result in a fatal error from kickstart.  Please modify your kickstart file to remove this option.
The following problem occurred on line 39 of the kickstart file:

Section %packages does not end with %end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment