On 05/29/2013 10:28 PM, Paul Tonelli wrote: > Linked to#710273 <mailto:710...@bugs.debian.org> > > https://github.com/andsens/build-debian-cloud > > with a few modifications to the ec2 scripts, you can easily create a > working debian image for openstack (juste remove the part which uses an > amazon volume and use an image file)
Hi, Below, you will find remarks which I am able to give because of information I grabbed on the debian-cloud list. It is well possible that I am mistaking because I haven't checked things myself, if so, please correct me. My understanding is that, to use build-debian-cloud, you need an instance of a cloud system (eg: AWS or OpenStack, or something like that) to be running. If I am right, then I prefer not to build a cloud image this way, I prefer to just build it locally without any need of having a cloud, only with things available in a "normal" Debian system. Also, AWS uses Xen, which more or less imposes Grub (and if I'm not mistaking, grub 1 / grub legacy), so that pvgrub / pygrub can be used. I made the choice to use syslinux (and in fact, extlinux, which works only with ext{1,2,3} partitions), because it is easier and lighter. My understanding is that extlinux wouldn't work for AWS, as it uses pygrub / pvgrub, and doesn't support the HVM mode of Xen. Let me know if I'm wrong with the above points, I'm really not sure about them. I had a quick look to the source code. It really looks nice, with plugins, hooks and so on. However, it is made out of 148 files to just build an image, while my script has 189 lines in a single file. So probably it covers a different set of needs. For my use case, I prefer to keep things simple, even if that means that my images would probably not work on other types of cloud. Please let me know your thoughts, I wouldn't mind having another approach if I am wrong, and I am open to suggestions. Thomas -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a626e6.6030...@debian.org