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

[Xen-users] RE: XCP 0.5: noob: how can i access the network in the post-install-script?


  • To: "Joe Linoff" <jlinoff@xxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Joe Linoff" <jlinoff@xxxxxxxxxx>
  • Date: Tue, 30 Nov 2010 12:54:52 -0800
  • Cc:
  • Delivery-date: Tue, 30 Nov 2010 12:56:27 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcuP+shbzAzrHIixTtGolSlR5fASCwA1eEYQ
  • Thread-topic: XCP 0.5: noob: how can i access the network in the post-install-script?

Hi Folks:

 

I didn’t figure out the reason but I figured out a workaround. If one wants to start a network service (or cron job), one can simply added a boot script to /etc/init.d or /etc/rc.local.

 

Cheers,

 

Joe

 

From: Joe Linoff
Sent: Monday, November 29, 2010 11:23 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: Joe Linoff
Subject: XCP 0.5: noob: how can i access the network in the post-install-script?

 

Hi Folks:

 

Why can’t I access the network from the post-install-script?

 

I am trying to access the internal LAN in the post-install-script when the XCP hypervisor is initially installed. Here are some of the commands I tried:

 

1.      ping –w 5 192.168.3.1

2.      service network status

3.      /sbin/service network status

4.      /etc/init.d/network status

 

All of them failed with a return status that was not zero. My other post-install-script commands like wget http://192.168.3.1/post-install.sh worked. Furthermore, all of the above command worked when I logged into the command shell after the installation.

 

Thanks,


Joe

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.