Project

General

Profile

Feature #912

Add IP Address to Pre-Login Console Text on Ubuntu

Added by Daniel Curtis about 7 years ago. Updated almost 7 years 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

#1

Updated by Daniel Curtis about 7 years ago

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

Updated by Daniel Curtis almost 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF