Re: Kickstart network settings problem -SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



In article <2181C5F19DD0254692452BFF3EAF1D6803940E22@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Plant, Dean <dean.plant@xxxxxxxxxx> wrote:
> 
> If like me you have never had to mess with the stage2.img file to fix
> installations issues, below shows what is required.
> 
> cd ~
> wget http://yourwebserver/centos5-dvd/images/stage2.img
> mkdir tmp
> mount -t squashfs -o loop stage2.img ./tmp
> cd tmp
> vi ./usr/lib/anaconda/kickstart.py # comment out
> dispatch.skipStep("network") at around line 876 or use Ray's patch.

hmm, isn't this editing the file on a read-only file system?

> mkdir ../new-stage2
> tar cf - . | ( cd ../new-stage2/ ; tar xf - . )

I suspect here is where you need to cd ../new-stage2 and edit kickstart.py

> cd ..
> yum -y install squashfs-tools
> mksquashfs ./new-stage2/ stage2.img.new
> 
> Now replace the stage2.img file on the web server with the
> stage2.img.new file, renamed to stage2.img of course.

Cheers
Tony
-- 
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux