Re: Creating vagrant box from fedora-cloud-base-vagrant.ks

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

 




----- Original Message -----
> From: "Colin Walters" <walters@xxxxxxxxxx>
> To: cloud@xxxxxxxxxxxxxxxxxxxxxxx
> Sent: Thursday, April 23, 2015 7:42:50 AM
> Subject: Re: Creating vagrant box from fedora-cloud-base-vagrant.ks
> 
> Hi,
> 
> On Wed, Apr 22, 2015, at 02:12 AM, Amit Saha wrote:
> > Hello,
> > 
> > How can I create vagrant box from the above mentioned kickstart file?
> > 
> > I tried rather blindly on F21 host:
> > 
> > appliance-creator -c fedora-cloud-base-vagrant.ks
> 
> See:
> 
> https://git.fedorahosted.org/cgit/spin-kickstarts.git/commit/?id=e371dd6c3cbd2edcc122a8c855131ff9903b522d
> 
> (I didn't actually test all of it at the moment, but hopefully the above is
> useful
>  as a starting point.  Let's collaborate on keeping up to date docs in the
>  comments)

Thanks Colin. It needed a minor fix:
https://git.fedorahosted.org/cgit/spin-kickstarts.git/commit/?id=1dd0bbf214649b896957738b40e686b3db37dc72

after which I got going only to end with:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/imgfac/Builder.py", line 132, in _build_image_from_template
    self.os_plugin.create_base_image(self, template, parameters)
  File "/usr/lib/python2.7/site-packages/imagefactory_plugins/TinMan/TinMan.py", line 365, in create_base_image
    builder.base_image.icicle = self.guest.customize_and_generate_icicle(libvirt_xml)
  File "/usr/lib/python2.7/site-packages/oz/Linux.py", line 353, in customize_and_generate_icicle
    return self._internal_customize(libvirt_xml, "gen_and_mod")
  File "/usr/lib/python2.7/site-packages/oz/Linux.py", line 311, in _internal_customize
    guestaddr = self._wait_for_guest_boot(libvirt_dom)
  File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1245, in _wait_for_guest_boot
    raise oz.OzException.OzException("Timed out waiting for guest to boot")
OzException: Timed out waiting for guest to boot

Image build FAILED with error: Timed out waiting for guest to boot


I will have to look into it.

Thanks,
Amit.


-- 
Amit Saha <http://echorand.me> 

_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux