summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Ionescu <Gabriel.Ionescu@enea.com>2019-08-09 16:30:42 +0200
committerGabriel Ionescu <Gabriel.Ionescu@enea.com>2019-08-09 16:31:55 +0200
commita14b119c235cfe094236ca9cddf96a9810229e18 (patch)
tree1bd1b4bd58c989890c99352c4824f85fe433de20
parent411a4f11ada604a0522581dc55c8ed8d0d6b8716 (diff)
downloadmeta-el-nfv-access-a14b119c235cfe094236ca9cddf96a9810229e18.tar.gz
Make the serial console as the first choice in GRUB and SYSLINUX
Change-Id: I146aafd422d0f99b25ef222380e053b08239c02f
-rw-r--r--classes/override_grub-efi.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/override_grub-efi.inc b/classes/override_grub-efi.inc
index 4c2ae64..15a7063 100644
--- a/classes/override_grub-efi.inc
+++ b/classes/override_grub-efi.inc
@@ -48,8 +48,8 @@ python build_efi_cfg() {
48 bb.fatal('GRUB_ROOT not defined') 48 bb.fatal('GRUB_ROOT not defined')
49 49
50 if gfxserial == "1": 50 if gfxserial == "1":
51 btypes = [ [ " graphics console", d.getVar('GRUB_GRAPHICS') or "" ], 51 btypes = [ [ " serial console", d.getVar('GRUB_SERIAL') or "" ],
52 [ " serial console", d.getVar('GRUB_SERIAL') or "" ] ] 52 [ " graphics console", d.getVar('GRUB_GRAPHICS') or "" ] ]
53 else: 53 else:
54 btypes = [ [ "", "" ] ] 54 btypes = [ [ "", "" ] ]
55 55