[CentOS-devel] interest in Cloud Instance SIG (from the Synnefo and Ganeti side)

Thu Feb 20 16:54:01 UTC 2014
Manuel Wolfshant <wolfy at nobugconsulting.ro>

On 02/20/2014 04:55 PM, Constantinos Venetsanopoulos wrote:
> Hello Manuel, Tru,
>
> first of all thanks for the quick replies.
> See comments inline.
     I have attached a revised version of the kickstart. This time it 
really does not install the firmware for Wi-Fi and other exotic cards 
and the partitioning is adjusted as discussed (one /boot, one / which 
spawns all disk ( remove --grow if this is not intended ) and no swap).
     I have also modified vda into sda in the %post section, I assume 
that if sda is used at install time it's also what should get tuned.


     Manuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140220/f63a2ff1/attachment-0007.html>
-------------- next part --------------
#pay attention to the comments inline !!


install
#cmdline
#use a mirror close to you or even better, the local one provided by your organization
url --url http://mirror.centos.org/centos/6/os/x86_64
repo --name=updates --baseurl=http://mirror.centos.org/centos/6/updates/x86_64/
lang en_US.UTF-8
keyboard us
skipx
network --device eth0 --bootproto dhcp
#do not forget to change the password !
#rootpw test1234
rootpw --iscrypted  $1$.A66cJ18$2YhwhpQs.fRNno/PAzqc7/
firewall --enabled
selinux --enforcing
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
services --enabled auditd,cups,ntpd,ntpdate,acpid,
timezone --utc Europe/London
zerombr
bootloader --location=mbr
clearpart --all --initlabel --drives=sda
part /boot --fstype ext3 --size=250 --asprimary
part / --fstype ext4 --size=10000 --asprimary --grow

#%packages
%packages --nobase
#use the next line instead of the previous one if you do not care about the doc files
#%packages --nobase --excludedocs
coreutils
yum
rpm
e2fsprogs
lvm2
grub
openssh-server
openssh-clients
dhclient
yum-presto
irqbalance
sudo
crontabs
cronie-anacron
postfix
NetworkManager
-atmel-firmware
-ipw*-firmware
-bfa-firmware
-ivtv-firmware
-iwl*-firmware
-ql*-firmware
-libertas-usb8388-firmware
-rt61pci-firmware
-rt73usb-firmware
-aic94xx-firmware
-zd1211-firmware
-b43-openfwwf
-sysstat-9.0.4-11.el6.i686
-yum-utils-1.1.26-11.el6.noarch
-info
-cyrus-sasl
acpid
%end
%post
/bin/echo "multilib_policy=best" >> /etc/yum.conf >> /root/postinstall.log 2>&1
rm /etc/udev/rules.d/70-persistent-net.rules
sed -i "/HWADDR/d" /etc/sysconfig/network-scripts/ifcfg-eth0
tune2fs -i 0 /dev/sda1
%end