ubuntu-cpc: Vagrant config for serial device must be scoped for Virtualbox only

[ Ben Howard ]
  * live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
    Virtualbox only.
ubuntu/trusty
Robert C Jennings 8 years ago
parent 2229a1a754
commit b0453f87e8

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.209.15) trusty; urgency=medium
[ Ben Howard ]
* live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
Virtualbox only.
-- Robert C Jennings <robert.jennings@canonical.com> Tue, 24 May 2017 14:22:47 -0500
livecd-rootfs (2.209.14) trusty; urgency=medium livecd-rootfs (2.209.14) trusty; urgency=medium
[ Ben Howard ] [ Ben Howard ]

@ -113,9 +113,12 @@ Vagrant.configure("2") do |config|
config.ssh.password = "${ubuntu_user_pass}" config.ssh.password = "${ubuntu_user_pass}"
config.vm.synced_folder '.', '/vagrant', disabled: true config.vm.synced_folder '.', '/vagrant', disabled: true
# Needed due to the default commandline, which expects a console. config.vm.provider "virtualbox" do |vb|
config.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ] vb.name = "${prefix}"
config.customize [ "modifyvm", :id, "--uartmode1", "file", "console.log" ] vb.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ]
vb.customize [ "modifyvm", :id, "--uartmode1", "file", File.join(Dir.pwd, "%s-console.log" % vb.name) ]
end
end end
EOF EOF

Loading…
Cancel
Save