Hello, I am trying out cobbler and have an issue with ubuntu 11.10 on a
dell poweredge 2950 where udev needs to be upgraded to the oneiric-proposed
version due to a bug in ubuntu and the network driver.  I want to create a
snippet that contains this code and have it execute before the system
reboots.

echo "deb http://archive.ubuntu.com/ubuntu/ oneiric-proposed restricted
> main multiverse universe" >> /etc/apt/sources.list \ && \
>  printf "Package: *\nPin: release a=oneiric-security\nPin-Priority:
> 990\nPackage: *\nPin: release a=oneiric-updates\nPin-Priority:
> 900\nPackage: *\nPin: release a=oneiric-proposed\nPin-Priority: 400\n" >
> /etc/apt/preferences \ && \
> apt-get update\ && \
> aptitude -y install udev/oneiric-proposed \


I have a snippet and reference it in the kickstart template juju.seed which
is pulled from the profile my system is using oneiric-x86_64-juju profile.
 I added:

$SNIPPET('fix_udev') && \

in the juju.seed file after the

d-i preseed/late_command string true && \

line.  I am new to this and cannot seem to find the correct way to
implement this from the documentation on snippets.

Brian Smith
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to