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:
  • Like
Reactions: Kingneutron
@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 !
 
I don't want to believe that error is still there since 2013 and I have this on December 2025. This doesn't need to be an error, need to be a stubbornness to avoid correction. Anyways, I updated hosts file manually.