Skip to content

Commit 6a32c8e

Browse files
stackedsaxmboersma
authored andcommitted
Make the instructions simpler and clearer on how to run the prepare-rackspace-image.sh script. Run from curl | bash
1 parent 8d21adc commit 6a32c8e

1 file changed

Lines changed: 8 additions & 13 deletions

File tree

contrib/rackspace/README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,23 @@ Provision a Deis Controller on Rackspace
3030
```
3131

3232
1. Prepare a new server
33-
1. Create a server named `deis_prepare_image` using the Ubuntu 12.04 LTS image, performance1-2, 1GB performance server
33+
1. Create a server named `deis-prepare-image` using the Ubuntu 12.04 LTS image, performance1-2, 1GB performance server
3434
1. SSH in as root with the password shown
3535
1. Install the 3.8 kernel with: ```apt-get update && apt-get install -yq linux-image-generic-lts-raring linux-headers-generic-lts-raring && reboot```
3636
1. After reboot is complete, SSH back in as root and `uname -r` to confirm kernel is `3.8.0-35-generic`
3737
1. Run the `prepare-rackspace-image.sh` script to optimize the image for fast boot times
3838

3939
```console
40-
$ ./contrib/rackspace/prepare-rackspace-image.sh
41-
+ dpkg -l 'linux-*'
42-
+ xargs sudo apt-get -y purge
43-
++ uname -r
44-
++ sed 's/\(.*\)-\([^0-9]\+\)/\1/'
40+
$ \curl -sSL https://raw2.github.com/opdemand/deis/master/contrib/rackspace/prepare-rackspace-image.sh | bash
41+
Reading package lists... Done
42+
Building dependency tree
43+
Reading state information... Done
4544
...
46-
+ rm -f /root/.ssh/authorized_keys
47-
+ find /var/log -type f
48-
+ xargs rm
49-
+ sync
5045
```
5146

52-
1. Create a new image from the server named "deis-base-image".
53-
1. In the server list in the Control Panel click the action cog for `deis_prepare_image`
54-
1. Select "Create New Image" name that image "deis-base-image"
47+
1. Create a new image from the `deis-prepare-image` server named `deis-base-image`.
48+
1. In the server list in the Control Panel click the action cog for `deis-prepare-image`
49+
1. Select "Create New Image" name that image `deis-base-image`
5550
1. (optionally) Distribute the image to other regions
5651
1. (optionally) Create/update your Deis flavors to use your new images
5752

0 commit comments

Comments
 (0)