[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Persisting a one-off hostname change



On 28 February 2012 00:27, Tom H <tomh0665@gmail.com> wrote:
> Thanks for the explanation. It's a good plan but I think that you
> name'll be invoked in some non-flattering contexts once this is
> implemented... :)

How would you approach it?

> "cp /etc/rc.local /etc/rc.local.final" and "vi /etc/rc.local" to add
> your "/dev/random" hostname stuff followed by "mv /etc/rc.local.final
> /etc/rc.local".

Thanks for the rc.local tip, but... won't the last command just
overwrite the rc.local script I just edited?

— Jason


Reply to: