xentaur

diff build-xenomips-image @ 40:10444acb35f4

*** empty log message ***
author igor
date Fri Oct 12 17:31:34 2007 +0300 (2007-10-12)
parents 7bf7abe92123
children 8c00f233a1d4
line diff
     1.1 --- a/build-xenomips-image	Tue Sep 25 22:47:27 2007 +0300
     1.2 +++ b/build-xenomips-image	Fri Oct 12 17:31:34 2007 +0300
     1.3 @@ -1,13 +1,13 @@
     1.4  #!/bin/sh
     1.5  
     1.6  DYNAMIPS_BUILD=no
     1.7 -XENOMIPS_FS_BUILD=no
     1.8 +XENOMIPS_FS_BUILD=yes
     1.9  CONFIG_FS_BUILD=no
    1.10  IOS_FS_BUILD=yes
    1.11  
    1.12  XENOMIPS_DIR="files/"
    1.13 -XENOMIPS_IMAGES_DIR="/home/nata/xenomips-images/"
    1.14 -IOS_DIR="/home/nata/ios/"
    1.15 +XENOMIPS_IMAGES_DIR="/xen/images/"
    1.16 +IOS_DIR="ios/"
    1.17  SSH_OPEN_KEY=files/id_dsa.pub
    1.18  
    1.19  #Xenomips FS
    1.20 @@ -23,7 +23,7 @@
    1.21  IOS_FS_SIZE=2048k
    1.22  IOS_FS_NAME=${XENOMIPS_IMAGES_DIR}/xenomips-ios1.img
    1.23  
    1.24 -DEBIAN_MIRROR=http://debian.org.ua/debian
    1.25 +DEBIAN_MIRROR=http://debian.osdn.org.ua/debian
    1.26  DISTRO=sid
    1.27  PACKAGES="openssh-server libc6-xen libelf1 libpcap0.8 screen nfs-common quagga tcpdump"
    1.28  DYNAMIPS_SOURCES=http://www.ipflow.utc.fr/dynamips/dynamips-0.2.7.tar.gz
    1.29 @@ -83,6 +83,10 @@
    1.30  FSTAB
    1.31  mkdir -p /data/Cisco_IOS /xenomips
    1.32  
    1.33 +cat <<EOF > /etc/sysctl.conf
    1.34 +net/ipv4/ip_forward=1
    1.35 +EOF
    1.36 +
    1.37  cat <<'INTERFACES' > /etc/network/interfaces
    1.38  auto lo eth0
    1.39