From b0144d301830ff9caa6228b5bec909f2eda8670f Mon Sep 17 00:00:00 2001 From: Stanislav German-Evtushenko Date: Sun, 9 Aug 2020 22:00:24 +0900 Subject: [PATCH] vagrant: Use dummy file for the console output Links: - https://bugs.launchpad.net/cloud-images/+bug/1874453 --- live-build/ubuntu-cpc/hooks.d/base/vagrant.binary | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary b/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary index f9b21d38..ff7d459f 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/vagrant.binary @@ -154,8 +154,10 @@ Vagrant.configure("2") do |config| config.vm.provider "virtualbox" do |vb| vb.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ] -# Creating a console log file is not an expected behavior for vagrant boxes. LP #1777827 -# vb.customize [ "modifyvm", :id, "--uartmode1", "file", File.join(Dir.pwd, "${prefix}-console.log") ] + # Creating a console log file is not an expected behavior for vagrant boxes. LP #1777827 + #vb.customize [ "modifyvm", :id, "--uartmode1", "file", File.join(Dir.pwd, "${prefix}-console.log") ] + # Use dummy file for the console output. LP #1874453 + vb.customize [ "modifyvm", :id, "--uartmode1", "file", File::NULL ] end end EOF