From eff40b8e5df0d90d6a5e8ff97888b28b43830191 Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Mon, 22 Feb 2016 07:30:03 -0700 Subject: [PATCH] live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for Vagrant images (LP: #1546108). --- debian/changelog | 7 +++++++ live-build/ubuntu-cpc/hooks/042-vagrant.binary | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/debian/changelog b/debian/changelog index 066a02c7..de2fec07 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.380) UNRELEASED; urgency=medium + + * live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for + Vagrant images (LP: #1546108). + + -- Ben Howard Mon, 22 Feb 2016 07:25:55 -0700 + livecd-rootfs (2.379) xenial; urgency=medium * add /var/lib/systemd/rfkill to pre-created dirs to use as writable diff --git a/live-build/ubuntu-cpc/hooks/042-vagrant.binary b/live-build/ubuntu-cpc/hooks/042-vagrant.binary index 6bf40dc3..618d3f9c 100755 --- a/live-build/ubuntu-cpc/hooks/042-vagrant.binary +++ b/live-build/ubuntu-cpc/hooks/042-vagrant.binary @@ -112,6 +112,11 @@ Vagrant.configure("2") do |config| config.ssh.username = "ubuntu" 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" ] + end EOF