MasterprojectOpenStack1516 / sourcecode

GNU General Public License v2.0
2 stars 2 forks source link

Run install script during vagrant provisioning #17

Open roschaefer opened 8 years ago

roschaefer commented 8 years ago

At this point, we run vagrant up followed by vagrant ssh [region] and ./installation_copy/install.sh. These steps should be incorporated into the vagrant provisioning.

Probably it is sufficient to stop install.sh from asking for the sudo password.

roschaefer commented 8 years ago

After #25 we still require the user to vagrant ssh and run the {{installation_folder}}/install.sh after provisioning. Creating a playbook on the physical ansible host to run the installation script in the region swallows the output on stdout. So the way to go is to refactor all playbooks to be run on the physical host instead of the region. This is probably not feasible at the moment.