Browse files

Start networking, udev, rsyslog, NFS services and xcp-sm-fs

  • Loading branch information...
1 parent 4fa6bba commit 1bab8f48a9e82aac80c7cffb62743547df34633f David Scott committed Jun 2, 2012
Showing with 12 additions and 1 deletion.
  1. +1 −1 Makefile
  2. +11 −0 overlay/init
View
2 Makefile
@@ -1,4 +1,4 @@
-PACKAGES=util-linux dhclient net-tools xe-guest-utilities xe-guest-utilities-xenstore pciutils
+PACKAGES=rsyslog util-linux dhclient net-tools xe-guest-utilities xe-guest-utilities-xenstore pciutils nfs-utils xcp-sm-fs xapi-noarch-backend-udev blktap
initrd:
sudo ./make-initrd.sh ${PACKAGES}
View
11 overlay/init
@@ -11,5 +11,16 @@ echo XXX not loading bnx2
echo Sending DHCP
/sbin/ifconfig eth0 up
/sbin/dhclient eth0
+/sbin/ifconfig eth1 169.254.0.2 netmask 255.255.255.0 up
+/sbin/rsyslogd&
+/sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0 up
+echo Starting udevd
+/sbin/udevd&
+echo Starting NFS services
+/sbin/rpc.statd -p 600 -o 601 &
+/usr/sbin/rpc.idmapd &
+/sbin/portmap &
+echo Starting xcp-sm-fs
+/usr/bin/xcp-sm-fs&
exec /bin/bash

0 comments on commit 1bab8f4

Please sign in to comment.