Merge lp:~smoser/maas/fix-ephem-doc into lp:~maas-committers/maas/trunk

Proposed by Scott Moser
Status: Merged
Approved by: Julian Edwards
Approved revision: no longer in the source branch.
Merged at revision: 1923
Proposed branch: lp:~smoser/maas/fix-ephem-doc
Merge into: lp:~maas-committers/maas/trunk
Diff against target: 23 lines (+4/-3)
1 file modified
docs/troubleshooting.rst (+4/-3)
To merge this branch: bzr merge lp:~smoser/maas/fix-ephem-doc
Reviewer Review Type Date Requested Status
Julian Edwards (community) Approve
Review via email: mp+205675@code.launchpad.net

Commit message

docs/troubleshooting.rst: fix bad syntax in ephemeral image debugging

Description of the change

docs/troubleshooting.rst: fix bad syntax in ephemeral image debugging

To post a comment you must log in.
Revision history for this message
Julian Edwards (julian-edwards) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'docs/troubleshooting.rst'
2--- docs/troubleshooting.rst 2014-01-18 16:17:28 +0000
3+++ docs/troubleshooting.rst 2014-02-11 00:39:22 +0000
4@@ -124,15 +124,16 @@
5 user and password into an image. Here's how to add a 'backdoor' user with a
6 password to your images::
7
8- bzr branch lp:~maas-maintainers/maas/backdoor-image
9+ sudo apt-get install --assume-yes bzr
10+ bzr branch lp:~maas-maintainers/maas/backdoor-image backdoor-image
11
12- imgs=$(echo var/lib/maas/ephemeral/*/*/*/*/*.img)
13+ imgs=$(echo /var/lib/maas/ephemeral/*/*/*/*/*.img)
14 for img in $imgs; do
15 [ -f "$img.dist" ] || cp -a --sparse=always $img $img.dist
16 done
17
18 for img in $imgs; do
19- sudo ./backdoor-image -v --user=backdoor --password-auth --password=ubuntu
20+ sudo ./backdoor-image -v --user=backdoor --password-auth --password=ubuntu $img
21 done
22
23 Inside the ephemeral image