mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-05 00:11:10 +00:00
live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for virtualbox only.
This commit is contained in:
commit
f34a8e4274
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (1:2.381) UNRELEASED; urgency=medium
|
||||
|
||||
* live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
|
||||
Virtualbox only.
|
||||
|
||||
-- Ben Howard <ben.howard@ubuntu.com> Mon, 22 Feb 2016 15:55:53 -0700
|
||||
|
||||
livecd-rootfs (2.380) xenial; urgency=medium
|
||||
|
||||
[ Ben Howard ]
|
||||
|
@ -113,9 +113,12 @@ Vagrant.configure("2") do |config|
|
||||
config.ssh.password = "${ubuntu_user_pass}"
|
||||
config.vm.synced_folder '.', '/vagrant', disabled: true
|
||||
|
||||
# Needed due to the default commandline, which expects a console.
|
||||
config.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ]
|
||||
config.customize [ "modifyvm", :id, "--uartmode1", "file", "console.log" ]
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
vb.name = "${prefix}"
|
||||
vb.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ]
|
||||
vb.customize [ "modifyvm", :id, "--uartmode1", "file", File.join(Dir.pwd, "%s-console.log" % vb.name) ]
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user