diff options
author | Neil Williams <codehelp@debian.org> | 2015-11-11 18:17:35 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-11-11 18:17:35 +0000 |
commit | 5659cbb2208326cb5dece90e1d008da7a93de5c1 (patch) | |
tree | 0dd2eef997ed323eb11567b840a5091734ee5465 | |
parent | c6c553d444f089580adf0734a25ed5f5a2ef84a9 (diff) | |
download | vmdebootstrap-1.2.tar.gz |
only output message when serial-console requestedvmdebootstrap-1.2
-rwxr-xr-x | bin/vmdebootstrap | 2 |
1 files changed, 1 insertions, 1 deletions
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) |