ggiamarchi / vagrant-openstack-provider

Use Vagrant to manage OpenStack Cloud instances.
MIT License
245 stars 102 forks source link

Bug/Feature Request: wait for user_data to complete before continuing #303

Open peterfraedrich opened 7 years ago

peterfraedrich commented 7 years ago

When supplying a cloud-init script, Vagrant does not wait for the script to complete before continuing the provisioning process. This causes problems when trying to install packages via cloud-init, especially rsync.

I can see two fixes for this:

  1. Force Vagrant to wait for user_data implementation before continuing
  2. Add a os.wait_for option to wait for n-seconds before continuing.