GHC Trac Home
GHC Home
Documentation
Status Reports
Repositories
Building Guide
Commentary
Debugging
View Tickets
All Bugs
All Tasks
All Feature Req's
All Proposals
My Tickets
Tickets I Created
By Milestone
By OS
By Architecture
Patches for review
Create Ticket
New Bug
New Task
New Feature Req
Joining In
Getting Started
Mailing Lists & IRC
Working on GHC
GHC Contributors
Wiki
Title Index
Recent Changes
Wiki Notes
Search:
Login
Help/Guide
About Trac
Register
Forgot your password?
Preferences
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Dashboard
Blog
Context Navigation
Back to AmazonEC2
AmazonEC2
: prep_instance
File prep_instance,
149 bytes
(added by simonmar,
2 years
ago)
Line
1
#!/bin/sh -e
2
3
(
mount | grep /dev/sdc
)
||
sudo mount /dev/sdc /mnt
4
test
-d /mnt/ubuntu
||
sudo mkdir /mnt/ubuntu
5
sudo chown ubuntu:ubuntu /mnt/ubuntu
Download in other formats:
Original Format