The `/etc/default/grub.d/90-sysconfig.cfg` will be config as
```
# Juju generated file - do not edit manually
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
# Evaluate grub-config-flags first, in case it uses $GRUB_CMDLINE_LINUX_DEFAULT.
# However, if grub-config-flags is not specified, ignore that (current behavior.)
# config-flags
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=menu
GRUB_SERIAL_COMMAND="serial --speed=115200"
GRUB_TERMINAL="console serial"
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT console=ttyS0,115200 console=tty0"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
GRUB_TERMINAL=serial
```
The `GRUB_TERMINAL` will be override by default `GRUB_TERMINAL=serial`(Not sure why two config not merge), which make `console` be disabled and grub can't view on `virt-viewer`
(I tried to comment `GRUB_TERMINAL=serial` manual, and grub showed on `virt-viewer`)
I am not sure which TERMINAL type Openstack, AWS, Google, or VMware need.
Update: I test sysconfig on my local virtual-maas with this command
``` flags=' GRUB_TIMEOUT= 10 STYLE=menu COMMAND= "serial --speed=115200" "console serial"
juju config sysconfig update-grub=true grub-config-
GRUB_TIMEOUT_
GRUB_SERIAL_
GRUB_TERMINAL=
'
```
And deploy on ubuntu(focal)
The `/etc/default/ grub.d/ 90-sysconfig. cfg` will be config as
```
# Juju generated file - do not edit manually
# If you change this file, run 'update-grub' afterwards to update grub.cfg.
# /boot/grub/
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
# Evaluate grub-config-flags first, in case it uses $GRUB_CMDLINE_ LINUX_DEFAULT. STYLE=menu COMMAND= "serial --speed=115200" "console serial" LINUX_DEFAULT= "$GRUB_ CMDLINE_ LINUX_DEFAULT console= ttyS0,115200 console=tty0" console serial
# However, if grub-config-flags is not specified, ignore that (current behavior.)
# config-flags
GRUB_TIMEOUT=10
GRUB_TIMEOUT_
GRUB_SERIAL_
GRUB_TERMINAL=
GRUB_CMDLINE_
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=
GRUB_TERMINAL=
```
The `GRUB_TERMINAL` will be override by default `GRUB_TERMINAL= serial` (Not sure why two config not merge), which make `console` be disabled and grub can't view on `virt-viewer`
(I tried to comment `GRUB_TERMINAL= serial` manual, and grub showed on `virt-viewer`)
I am not sure which TERMINAL type Openstack, AWS, Google, or VMware need.
But maybe is because `GRUB_TERMINAL`?