Skip to content
This repository was archived by the owner on Jun 28, 2023. It is now read-only.

Commit 0745f68

Browse files
committed
Set the console log file to not hardcode the value of Dir.pwd into our box image
1 parent d4a5c8a commit 0745f68

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Vagrantfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,9 @@ Vagrant.configure('2') do |config|
1212
config.vm.provision :shell, path: "provision-root-cleanup.sh"
1313
# Enable forwarded port while we're developing and testing this box
1414
config.vm.network :forwarded_port, guest: 3000, host: 3000
15+
# Work around the official image hardcoding our current pwd (introduced here:)
16+
# http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/revision/1321
17+
config.vm.provider "virtualbox" do |vb|
18+
vb.customize [ "modifyvm", :id, "--uartmode1", "file", "console.log" ]
19+
end
1520
end

Vagrantfile.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@
88
Vagrant.configure('2') do |config|
99
config.vm.box = "railsbridge"
1010
config.vm.network :forwarded_port, guest: 3000, host: 3000
11+
config.vm.provider "virtualbox" do |vb|
12+
vb.customize [ "modifyvm", :id, "--uartmode1", "file", "console.log" ]
13+
end
1114
end

0 commit comments

Comments
 (0)