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). |