From 5659cbb2208326cb5dece90e1d008da7a93de5c1 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Wed, 11 Nov 2015 18:17:35 +0000 Subject: only output message when serial-console requested --- bin/vmdebootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap index 9bf288e..909c8eb 100755 --- a/bin/vmdebootstrap +++ b/bin/vmdebootstrap @@ -283,7 +283,7 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth # only append for wheezy (which became oldstable on 2015.04.25) if distro.was_oldstable(datetime.date(2015, 4, 26)): base.append_serial_console(rootdir) - else: + elif self.settings['serial-console']: base.message("Skipping setting serial console- wheezy only.") self.optimize_image(rootdir) -- cgit v1.2.1