[BangPypers] remote ip change
Sriram Narayanan
sriramnrn at gmail.com
Wed Jun 22 13:09:12 CEST 2011
If you _want_ to involve python, then take a look at func. With Func,
changing the machine IP is just one of the many sysadmin tasks you'll
be able to perform.
-- Ram
On 6/22/11, Noufal Ibrahim <noufal at gmail.com> wrote:
> Nitin Kumar <nitin.nitp at gmail.com> writes:
>
>> Hi All,
>>
>> I want to change the IP of remote server. I can do it manually using
>> control panel. But i need to do that in a script. So is there any
>> simple API in python which can be used for the same?
>
> You should be able to ssh into the machine and use ifconfig to change
> it. I don't know how that will crap your existing connection so it might
> be a good idea to simply run it as a shell pipeline. Why involve Python
> for this at all?
>
>
> --
> ~noufal
> http://nibrahim.net.in
>
> No one goes to that restaurant anymore-it's always too crowded. (attributed
> to Yogi Berra)
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
--
Sent from my mobile device
==================
Belenix: www.belenix.org
More information about the BangPypers
mailing list