You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

After you have configured the Cumulus VX instances, use the wider Cumulus Linux documentation suite to configure and test features and fine tune the network topology. This section provides additional configuration options specific to Cumulus VX, and additional resources for further reading and more advanced configuration.

Contents

Enable the Serial Console

To provide easier access in video-focused hypervisors (such as VirtualBox), Cumulus VX is configured to redirect the grub menu and the kernel output to the video console by default. This section provides the steps required to send both back to the serial console, either before or after you log into the virtual machine (VM).

Before Logging into the Virtual Machine

If the virtual machine has not been booted, follow the steps below to enable the serial console:

  1. Interrupt the boot process at the GRUB prompt.

  2. Modify the Linux command line directly, removing all references to the console entries:

    Original Version:

    Configured Version:

    The example images above are for the ONIE-RESCUE entry, not the standard boot entry. The configuration process is the same for both entries.
  3. Start the virtual machine.

After Logging into the Virtual Machine

To enable the serial console from a running VM:

  1. Run the following commands as the sudo user:

    cumulus@switch:~$ sed -i 's/^#//' /etc/default/grub.d/00-installer-defaults.cfg
    cumulus@switch:~$ sed -r -i '/^GRUB_CMDLINE_LINUX=/ s/(console=ttyS0,115200n8) (console=tty0)/\2 \1/' /etc/default/grub
    cumulus@switch:~$ update-grub 
  2. Restart the virtual machine to implement the change.

Further Information

Check out these community articles and the rest of the Cumulus Linux documentation:

  • No labels