Project

General

Profile

Feature #912

Add IP Address to Pre-Login Console Text on Ubuntu

Added by Daniel Curtis 11 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Server
Start date:
10/11/2017
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

I recently wanted to add the IP address of my development Ubuntu VMs to the console pre-login prompt, sparing me the time of logging in just to ifconfig once so I can ssh into the VM. This is how I added the IP address of my machine to the pre-login console prompt on Ubuntu 16.04.

/etc/issue

  • Edit the /etc/issue file:
    sudo nano /etc/issue
    
    • and modify similar to the following:
      Ubuntu 16.04.3 LTS \n \l
      IP: \4
      

Now every time the machine starts, the IPv4 address will display on the pre-login console.

Resources

History

#1 Updated by Daniel Curtis 11 months ago

  • Estimated time set to 0.50
  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#2 Updated by Daniel Curtis 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF