Diff for /wikisrc/amazon_ec2.mdwn between versions 1.7 and 1.8

version 1.7, 2011/02/17 21:01:50 version 1.8, 2011/02/17 21:10:12
Line 99  PermitRootLogin without-password Line 99  PermitRootLogin without-password
   
 Create **etc/fstab** and **etc/ifconfig.xennet0**:  Create **etc/fstab** and **etc/ifconfig.xennet0**:
   
 [[!template id=filecontent name=etc/fstab text="""  [[!template id=programlisting text="""
   cd /mnt/ec2
   echo "dhcp" > etc/ifconfig.xennet0 # EC2 network configuration
   cat > etc/fstab << EOF
 /dev/xbd1a /        ffs    rw 1 1  /dev/xbd1a /        ffs    rw 1 1
 /dev/xbd0a /grub    ext2   rw 2 2  /dev/xbd0a /grub    ext2   rw 2 2
 kernfs     /kern    kernfs rw  kernfs     /kern    kernfs rw
 ptyfs      /dev/pts ptyfs  rw  ptyfs      /dev/pts ptyfs  rw
 procfs     /proc    procfs rw  procfs     /proc    procfs rw
 """]]  EOF
   
 [[!template id=filecontent name=etc/ifconfig.xennet0 text="""  
 # Configure interface for EC2 network  
 dhcp  
 """]]  """]]
   
 Once done, you can modify the system living under **/mnt/ec2** to fit your needs (adding custom binaries, packages, etc).  Once done, you can modify the system living under **/mnt/ec2** to fit your needs (adding custom binaries, packages, etc).

Removed from v.1.7  
changed lines
  Added in v.1.8


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb