[Ovirt-devel] Re: [PATCH recipe] Use ovirt-node-image RPM instead of ovirt-node-image-pxe since it has been removed
Perry Myers
pmyers at redhat.com
Fri Nov 14 20:10:59 UTC 2008
Alan Pevec wrote:
> Perry Myers wrote:
>> +# Create PXE images from oVirt ISO
>> +tmp=$(mktemp -d)
> ...
>> cobbler distro add --name="oVirt-Node-$node_arch" --arch=$node_arch \
>> - --initrd=/var/lib/tftpboot/initrd0.img
>> --kernel=/var/lib/tftpboot/vmlinuz0 \
>> + --initrd=$tmp/tftpboot/initrd0.img --kernel=$tmp/tftpboot/vmlinuz0 \
>
> hm, I think cobbler sync will fail later when when tmpdir is gone...
>
You are correct. Sucks that we have to keep these images around in two
places: cobbler staging area and inside cobbler directories.
But I'll change the patch to put these images somewhere else other than /tmp
--
|=- Red Hat, Engineering, Emerging Technologies, Boston -=|
|=- Email: pmyers at redhat.com -=|
|=- Office: +1 412 474 3552 Mobile: +1 703 362 9622 -=|
|=- GnuPG: E65E4F3D 88F9 F1C9 C2F3 1303 01FE 817C C5D2 8B91 E65E 4F3D -=|
More information about the ovirt-devel
mailing list