Joe Linoff
2010-Nov-29 19:22 UTC
[Xen-users] 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@lists.xensource.com http://lists.xensource.com/xen-users
Joe Linoff
2010-Nov-30 20:54 UTC
[Xen-users] RE: 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@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-users