{"id":429,"date":"2013-07-22T20:40:52","date_gmt":"2013-07-22T20:40:52","guid":{"rendered":"https:\/\/shan.info\/new\/centos-kickstart\/"},"modified":"2013-07-22T20:40:52","modified_gmt":"2013-07-22T20:40:52","slug":"centos-kickstart","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/centos-kickstart\/","title":{"rendered":"centos kickstart"},"content":{"rendered":"<pre class=\"brush:php\">cd \/root\/iso\/centos\r\nmkisofs -o CentOS_6_x86_64_Kickstart.iso -b isolinux\/isolinux.bin -c isolinux\/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T .\r\n-------------------------------------------------------------------\r\nKickstart option to avoid \"Storage Device Warning\"\r\nWhen I added zerombr to my kickstarts that issue went away.\r\nI think that should do it b\/c the devices will then have a structure that anaconda won't flake out on.\r\n-------------------------------------------------------------------\r\nPyCURL couldn't resolve \"cdrom:sr0\" during CentOS 6.2 kickstart installation\r\nI have solved this issue myself, the solution is changing the repo line from\r\nrepo --name=\"CentOS\"  --baseurl=cdrom:sr0 --cost=100\r\nto\r\nrepo --name=\"CentOS\"  --baseurl=file:\/\/\/mnt\/source --cost=100\r\n-------------------------------------------------------------------\r\n# Kickstart file automatically generated by anaconda.\r\n#version=DEVEL\r\ninstall\r\ncdrom\r\nlang en_US.UTF-8\r\nkeyboard fr\r\nnetwork --onboot yes --device eth0 --bootproto static --noipv6\r\nrootpw  --iscrypted $6$NJrmWL64ZRdd1QFJ$I2hxrufs.2FI9.CVGB35R0fSQAFtJp4lakIKCoTvvmjVIBmDN\/tOaBOwzptldn8HBXUMv8NmytpM6WeeonwSU.\r\nfirewall --service=ssh\r\nauthconfig --enableshadow --passalgo=sha512\r\nselinux --enforcing\r\ntimezone --utc Europe\/Paris\r\nbootloader --location=mbr --driveorder=sda --append=\"crashkernel=auto rhgb quiet\"\r\n# The following is the partition information you requested\r\n# Note that any partitions you deleted are not expressed\r\n# here so unless you clear all partitions first, this is\r\n# not guaranteed to work\r\nzerombr\r\nclearpart --all --drives=sda\r\npart \/boot --fstype=ext4 --size=500\r\npart pv.008002 --grow --size=1\r\nvolgroup VolGroup --pesize=4096 pv.008002\r\nlogvol \/ --fstype=ext4 --name=lv_root --vgname=VolGroup --size=97896\r\nlogvol swap --name=lv_swap --vgname=VolGroup --size=4000\r\nrepo --name=\"CentOS\"  --baseurl=file:\/\/\/mnt\/source --cost=100\r\nreboot --eject\r\n%post --nochroot\r\ncp \/mnt\/source\/6netconfig.sh \/mnt\/sysimage\/root &gt;&gt; \/tmp\/ins.log 2&gt;&amp;1\r\nchmod +x \/mnt\/sysimage\/root\/6netconfig.sh\r\n%packages --nobase\r\n@core\r\n%end\r\n-----------------------------------------------------------------\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>cd \/root\/iso\/centos mkisofs -o CentOS_6_x86_64_Kickstart.iso -b isolinux\/isolinux.bin -c isolinux\/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T . &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Kickstart option to avoid &#8220;Storage Device Warning&#8221; When I added zerombr to my kickstarts that issue went away. I think that should do it b\/c the devices will then have a structure that anaconda won&#8217;t flake [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-429","post","type-post","status-publish","format-standard","hentry","category-centos-6"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=429"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/429\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}