[ale] vmware changing hostname thru scripts
Derek Atkins
warlord at MIT.EDU
Tue May 24 11:27:25 EDT 2011
Hi,
David Tomaschik <david at systemoverlord.com> writes:
> sudo hostname <new hostname>.
>
> man hostname.
>
> David
>
> On Tue, May 24, 2011 at 9:23 AM, Narahari 'n' Savitha
> <savithari at gmail.com> wrote:
>> Friends:
>>
>> Is there a way thru sudo to change the hostname of a ubuntu session running
>> inside vmware ?
>>
>> I am rolling out vmware files to users and would like for them to be able to
>> run the script and the host name changes.
>>
>> -Narahari
Note that this will only change the hostname for the current run of the
VM. If you want to change the hostname "permanently" for the VM Image
you'll need to change it in a config file. On Red Hat/Fedora it's
/etc/sysconfig/network; I have no idea how to do it on Debian/Ubuntu.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the Ale
mailing list