From 54a979ddd3fddef8f123a919a09363ce59e27ab8 Mon Sep 17 00:00:00 2001 From: Evan Coury Date: Wed, 17 Sep 2014 18:06:59 -0700 Subject: [PATCH] Update rax root pubkey example The example was showing how to use the `files` option to pass in a local file as an authorized public key for root. While this works, it's a bit sloppy, given that there's a specific option, `key_name` which will use one of your public keys on your rackspace account and add it as an authorized key for root. In our case, one of our admins didn't notice the `key_name` option because they scrolled straight to the example and saw the `files` strategy. I propose that the example still shows `files`, but not using a root public key as an example, and instead also demonstrate the `key_name` option so that it's clear from the example how to get the initial root public key deployed. --- cloud/rax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/rax b/cloud/rax index d7db2c63d7e..e01367ed5bd 100644 --- a/cloud/rax +++ b/cloud/rax @@ -164,8 +164,8 @@ EXAMPLES = ''' name: rax-test1 flavor: 5 image: b11d9567-e412-4255-96b9-bd63ab23bcfe + key_name: my_rackspace_key files: - /root/.ssh/authorized_keys: /home/localuser/.ssh/id_rsa.pub /root/test.txt: /home/localuser/test.txt wait: yes state: present