Re: Cannot %include in CentOS 5.5 kickstart

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



On 03/10/2011 08:14 AM, whitivery wrote:
> # This does not work
> %include /tmp/drvdisk
>
> # This works
> #driverdisk
> --source=nfs:10.0.4.157:/srv/cobbler/RHEL5.5_x86_402_409_410_DD.img
>
>
> %packages
> @base
> @core
>
> %pre --erroronfail
>
> echo "driverdisk
> --source=nfs:10.0.4.157:/srv/cobbler/RHEL5.5_x86_402_409_410_DD.img">
> /tmp/drvdisk

Although lacking a good caffeine fix the only difference I notice with 
some examples is that they do this:

%include /tmp/drvdisk.sh
.
.
.
%pre
echo "driverdisk --source=nfs:10.1.2.3:/foo/image.img" > /tmp/drvdisk.sh

Notice the usage of ".sh" in the drvdisk.sh filename?

Regards,
Patrick
_______________________________________________
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