How to make changes in /etc/issue persistent?

minasmorgul

New Member
Jul 22, 2013
17
0
1
Hello all,

after changing the IP-Addres of my PVE-node i'd like to change it in /etc/issue also.

If i do that, i get the changed login message until the node is rebooted. It is reset then to the initial message.

So, how to make changes in /etc/issue persistent?

Regards,
minas
 
Hello Dietmar,

yes, i noticed that already. Two questions:

- why do you do that?
- how to change the IP-adress on the login screen?

Regards,
minas
 
The init script responsible for settings /etc/issue is /etc/init.d/pvebanner, a small perl script that updates the file on every boot.

sudo update-rc.d pvebanner remove

will disable the script and allow you to set /etc/issue manually (we use puppet).
 
Last edited:
@squeeb

Thank you for your Information … will keep that in mind.

I'm happy with updating /etc/hosts so far, so i'll keep that solution.

Special Thanks for scrubbing those old threads! :D

Regards,
minas
 
even on 4.3 version I have to do this to refresh the ip on host terminal screen after change ip via gui.
Anyone knows why this beavior ? I supose it's intentional but I don't know why
Thanks, regards !
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!