Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Dec 11, 2003 7:22 pm 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Find it annoying that you can not reboot from within your linode, it just does a shutdown.

Well now you can.

Simply add the following to your .bashrc file or what ever shell rc file you use

alias reboot='ssh cp_username@hostxx.linode.com reboot'

changing cp_username for your cp username and hostxx for your host

the either logout and back in again or do a source .bashrc

You can now type reboot and you will be prompted for you password enter your CP password and your linode will the be rebooted. There may be a delay as it goes into the job queue. This is the same as doing a reboot from the CP.

Enjoy.

Adam


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group