[development@localhost ~/P/t/phpdocker] vagrant --version
Vagrant 1.8.1
Ubuntu 16.04
blinkreaction/boot2docker
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "blinkreaction/boot2docker"
# Network config & shared folders
config.vm.network "private_network", ip: "192.168.33.201"
config.vm.synced_folder "..", "/home/docker/php-70", id: "php-70-dev", nfs: true
config.vm.synced_folder "~/.composer/", "/home/docker/.composer", id: "php-70-composer", nfs: true
# VM definition
config.vm.provider "virtualbox" do |vb|
vb.name = "PHP 70"
vb.memory = 1024
vb.cpus = 1
end
# Bring up containers
config.vm.provision "shell", run: "always", inline: "cd /home/docker/php-70/phpdocker && docker-compose up -d 1>&2"
# Redirect webserver port down 80, etc
config.vm.provision "shell", run: "always", inline: "/usr/local/sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 7000 1>&2"
# Disable guest additions auto update as it won't work on boot2docker, and slows vm boot down boot
if Vagrant.has_plugin?("vagrant-vbguest")
config.vbguest.auto_update = false
end
end
https://gist.github.com/luispabon/fbd51a23aa6730cb421a
No systemd output, mounts correctly
Spurious systemd buffered output stopping NFS provisioning; if ctrl+c then it also stops vagrant provisioning and mounts don't finish. If pressing Q, systemd buffer finishes correctly and mounts mount.
I've stubmled upon a similar issue recently.
Could you try adding SYSTEMD_PAGER=cat
in front of vagrant up
and check if it works?
Hi @luispabon
The link you provided is not the debug output. Please follow the instructions for generating debug output and provide a link to that. Thanks!
Hey there,
I am going to close this due to lack of response. If this is still occurring, please open a _new issue_ and follow the provided issue template that appears when you click the "New Issue" button. This will help us in getting a reproduction and fix. Thanks! 😄
Most helpful comment
I've stubmled upon a similar issue recently.
Could you try adding
SYSTEMD_PAGER=cat
in front ofvagrant up
and check if it works?