Vagrant provisioning script ends early

Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
I am attempting to write a provisioning script for vagrant, however, after the following lines, the provisioning script ends early, and does not continue, I am looking for an alternative method or solution to getting the script to continue...
apt-get update
apt-get install blackfire-agent
blackfire-agent -register << ANSWERS
$5
$6
ANSWERS
However, it never reaches the next line which is
/etc/init.d/blackfire-agent restart
Any ideas?
shell-script vagrant
add a comment |Â
up vote
0
down vote
favorite
I am attempting to write a provisioning script for vagrant, however, after the following lines, the provisioning script ends early, and does not continue, I am looking for an alternative method or solution to getting the script to continue...
apt-get update
apt-get install blackfire-agent
blackfire-agent -register << ANSWERS
$5
$6
ANSWERS
However, it never reaches the next line which is
/etc/init.d/blackfire-agent restart
Any ideas?
shell-script vagrant
You would be better served having the register process bundled in a shell script on the virtual machine itself and then execute the shell script from your vagrantfile. Perhaps write the script and store it on the host machine and then map it to the virtual machine through a shared drive. The alternative would be to build a custom "box" on Hashicorp with the script already contained.
â Raman Sailopal
Jul 20 at 10:13
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am attempting to write a provisioning script for vagrant, however, after the following lines, the provisioning script ends early, and does not continue, I am looking for an alternative method or solution to getting the script to continue...
apt-get update
apt-get install blackfire-agent
blackfire-agent -register << ANSWERS
$5
$6
ANSWERS
However, it never reaches the next line which is
/etc/init.d/blackfire-agent restart
Any ideas?
shell-script vagrant
I am attempting to write a provisioning script for vagrant, however, after the following lines, the provisioning script ends early, and does not continue, I am looking for an alternative method or solution to getting the script to continue...
apt-get update
apt-get install blackfire-agent
blackfire-agent -register << ANSWERS
$5
$6
ANSWERS
However, it never reaches the next line which is
/etc/init.d/blackfire-agent restart
Any ideas?
shell-script vagrant
asked Jul 20 at 10:03
Jeffrey L. Roberts
174111
174111
You would be better served having the register process bundled in a shell script on the virtual machine itself and then execute the shell script from your vagrantfile. Perhaps write the script and store it on the host machine and then map it to the virtual machine through a shared drive. The alternative would be to build a custom "box" on Hashicorp with the script already contained.
â Raman Sailopal
Jul 20 at 10:13
add a comment |Â
You would be better served having the register process bundled in a shell script on the virtual machine itself and then execute the shell script from your vagrantfile. Perhaps write the script and store it on the host machine and then map it to the virtual machine through a shared drive. The alternative would be to build a custom "box" on Hashicorp with the script already contained.
â Raman Sailopal
Jul 20 at 10:13
You would be better served having the register process bundled in a shell script on the virtual machine itself and then execute the shell script from your vagrantfile. Perhaps write the script and store it on the host machine and then map it to the virtual machine through a shared drive. The alternative would be to build a custom "box" on Hashicorp with the script already contained.
â Raman Sailopal
Jul 20 at 10:13
You would be better served having the register process bundled in a shell script on the virtual machine itself and then execute the shell script from your vagrantfile. Perhaps write the script and store it on the host machine and then map it to the virtual machine through a shared drive. The alternative would be to build a custom "box" on Hashicorp with the script already contained.
â Raman Sailopal
Jul 20 at 10:13
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457405%2fvagrant-provisioning-script-ends-early%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You would be better served having the register process bundled in a shell script on the virtual machine itself and then execute the shell script from your vagrantfile. Perhaps write the script and store it on the host machine and then map it to the virtual machine through a shared drive. The alternative would be to build a custom "box" on Hashicorp with the script already contained.
â Raman Sailopal
Jul 20 at 10:13