[CentOS-virt] Package lists for Cloud images
nkadel at gmail.com
Thu Oct 4 17:22:13 EDT 2012
On Thu, Oct 4, 2012 at 7:31 AM, Nux! <nux at li.nux.ro> wrote:
> On 04.10.2012 11:55, Stephen Harris wrote:
>> On Thu, Oct 04, 2012 at 11:27:40AM +0100, Nux! wrote:
>>> Suggestions on how to improve it welcome.
>> Why do you need to do the "extend filesystem" stuff?
>> Or is this a mis-feature of openstack that you're having to work
> This ks will generate a template to be used to deploy virtual machine
> on openstack (well, can be used anywhere kvm+virtio) and as such the
> template should be able to expand itself on the new virtual disk (it
> will basically be dd-ed to a new, larger file to be used for a VM).
> Indeed it's a "misfeature" of openstack as they could have used
> virt-resize to do all this..
The generated template left in /root/anaconda-ks.cfg is mangled
fiction. It's what Anaconda deduced the actual ks.cfg contained, and
throws out a tremendous amount of useful information, especially but
not only the actual '%post' and '%pre' scripting executed. It's one of
Anaconda's great flaws.
By default, add this or something like it to your kickstart files to
save your actual ks.cfg file.
cp /tmp/ks.cfg /mnt/sysimage/root/ks.cfg
More information about the CentOS-virt