version 1.31, 2011/02/23 21:44:38
|
version 1.34, 2011/02/24 00:05:32
|
Line 79 AKI, or *Amazon Kernel Image*, are a spe
|
Line 79 AKI, or *Amazon Kernel Image*, are a spe
|
|
|
# Using pre-made AMIs |
# Using pre-made AMIs |
|
|
XXX TODO |
The following AMIs are publicly available. You can use them to [start a NetBSD instance](#index11h2) quickly, without needing to build your image by hand. |
|
|
|
<table> |
|
<tr> |
|
<th>NetBSD version</th> |
|
<th>us-west-1</th> |
|
<th>us-east-1</th> |
|
<th>eu-west-1</th> |
|
<th>ap-southeast-1</th> |
|
</tr> |
|
<tr> |
|
<th>NetBSD 5.1.0_PATCH</th> |
|
<td> |
|
32 bits: <strong></strong><br/> |
|
64 bits: <strong></strong> |
|
</td> |
|
<td> |
|
32 bits: <strong></strong><br/> |
|
64 bits: <strong>ami-f612e19f</strong> |
|
</td> |
|
<td> |
|
32 bits: <strong></strong><br/> |
|
64 bits: <strong></strong> |
|
</td> |
|
<td> |
|
32 bits: <strong></strong><br/> |
|
64 bits: <strong></strong> |
|
</td> |
|
</tr> |
|
<tr> |
|
<th>NetBSD-HEAD (5.99.45)</th> |
|
<td> |
|
32 bits: <strong></strong><br/> |
|
64 bits: <strong></strong> |
|
</td> |
|
<td> |
|
32 bits: <strong></strong><br/> |
|
64 bits: <strong></strong> |
|
</td> |
|
<td> |
|
32 bits: <strong></strong><br/> |
|
64 bits: <strong></strong> |
|
</td> |
|
<td> |
|
32 bits: <strong></strong><br/> |
|
64 bits: <strong></strong> |
|
</td> |
|
</tr> |
|
</table> |
|
|
# Build-up your NetBSD system |
# Build-up your NetBSD system |
|
|
Line 104 cd src
|
Line 152 cd src
|
./build.sh -O ../obj -T ../tools -D ../dest -R ../release -m amd64 -U distribution |
./build.sh -O ../obj -T ../tools -D ../dest -R ../release -m amd64 -U distribution |
./build.sh -O ../obj -T ../tools -m amd64 kernel=XEN3_DOMU |
./build.sh -O ../obj -T ../tools -m amd64 kernel=XEN3_DOMU |
# install distribution in /mnt/ec2 |
# install distribution in /mnt/ec2 |
su root -c ./build.sh -O ../obj -T ../tools -D ../dest -R ../release -U -V INSTALLSETS="base etc" install=/mnt/ec2 |
su root ./build.sh -O ../obj -T ../tools -D ../dest -R ../release -U -V INSTALLSETS="base etc" install=/mnt/ec2 |
"""]] |
"""]] |
|
|
# Configuration of your NetBSD EC2 tree |
# Configuration of your NetBSD EC2 tree |
Line 199 procfs /proc procfs rw
|
Line 247 procfs /proc procfs rw
|
EOF |
EOF |
# EC2 startup script (if you installed it) |
# EC2 startup script (if you installed it) |
if [ -f etc/rc.d/ec2_init ]; then |
if [ -f etc/rc.d/ec2_init ]; then |
chmod 755 etc/rc.d/ec2_init |
chmod 555 etc/rc.d/ec2_init |
fi |
fi |
"""]] |
"""]] |
|
|