You have to make sure that cloud-init is enabled and running in your
base instance. Then snapshot that VM and launch another instance from
the new image, provide some user-data to test it.
Cloud-init is a tool for initial configuration of new instances,
that's why you would have to execute these steps manually if you
configure your first VM to be a new base image. So all the magic will
be (hopefully) visible if you launch a new VM.
Regards,
Eugen
Zitat von Adhi Priharmanto <adhi....@gmail.com>:
Hi Bob,
yes I'm following those tutorial, creating glance image from existing vm
xenserver.
- build from scratch VM using "16.04 template" and "other installation
media"
- update & upgrade the VM OS
- installing cloud-init package, no change of cloud-init configuration
and using the default setting of cloud-init
- reboot the VM for testing the cloud-init and no output showing
cloud-init activity, there is no process associated with cloud-init in
"/var/log/syslog"
- export the vdi, compress the VHD, upload to glance
- start instance using the custom image, just get the IP address. To
gather instance metadata, "cloud-init init" must be executed
manually after
instance completely booting.
On Thu, May 4, 2017 at 11:32 PM, Bob Ball <bob.b...@citrix.com> wrote:
Hi Adhi,
Did you follow a guide, such as http://citrix-openstack.
siteleaf.net/posts/generating-images-for-xenserver-in-openstack/ for
generating the image? If not, how was the image generated?
What exactly is the output from the 17.04 image you’re using?
Thanks,
Bob
*From:* Adhi Priharmanto [mailto:adhi....@gmail.com]
*Sent:* 03 May 2017 16:36
*To:* openstack <openstack@lists.openstack.org>
*Subject:* [Openstack] cloud-init not start ini ubuntu 17.04
hi all,
I just created ubuntu 17.04 custom image for working with openstack
xenserver, after installing & update+upgrade ubuntu 17.04 base OS, I
installed cloud-init, then reboot it to test cloud-init, but I can't see
cloud-init process during the ubuntu 17.04 OS boot.
Is there anyone can help or give a suggest for me ?
--
Cheers,
*Adhi Priharmanto*
about.me/a_dhi
[image: http://d13pix9kaak6wt.cloudfront.net/signature/colorbar.png]
+62-812-82121584 <+62%20812-8212-1584>
--
Cheers,
[image: --]
Adhi Priharmanto
[image: http://]about.me/a_dhi
<http://about.me/a_dhi?promo=email_sig>
+62-812-82121584
--
Eugen Block voice : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail : ebl...@nde.ag
Vorsitzende des Aufsichtsrates: Angelika Mozdzen
Sitz und Registergericht: Hamburg, HRB 90934
Vorstand: Jens-U. Mozdzen
USt-IdNr. DE 814 013 983
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack