Merge lp:~rvb/maas/update-troubleshooting-doc into lp:~maas-committers/maas/trunk

Proposed by Raphaël Badin
Status: Merged
Approved by: Raphaël Badin
Approved revision: no longer in the source branch.
Merged at revision: 2352
Proposed branch: lp:~rvb/maas/update-troubleshooting-doc
Merge into: lp:~maas-committers/maas/trunk
Diff against target: 19 lines (+2/-2)
1 file modified
docs/troubleshooting.rst (+2/-2)
To merge this branch: bzr merge lp:~rvb/maas/update-troubleshooting-doc
Reviewer Review Type Date Requested Status
Jeroen T. Vermeulen (community) Approve
Review via email: mp+220423@code.launchpad.net

Commit message

Fix images path in instructions on how to enable a backdoor in ephemeral images.

Description of the change

Drive-by fix: fix path to the `backdoor-image` tool in script snippet.

To post a comment you must log in.
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

I'll have to trust you on the details, but I thank you for paying attention to them.

review: Approve
Revision history for this message
Raphaël Badin (rvb) wrote :

> I'll have to trust you on the details, but I thank you for paying attention to
> them.

Thanks for the review.

Yeah, I've run the new version of the script successfully.

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-02-25 06:53:16 +0000
3+++ docs/troubleshooting.rst 2014-05-21 10:39:43 +0000
4@@ -127,13 +127,13 @@
5 sudo apt-get install --assume-yes bzr
6 bzr branch lp:~maas-maintainers/maas/backdoor-image backdoor-image
7
8- imgs=$(echo /var/lib/maas/ephemeral/*/*/*/*/*.img)
9+ imgs=$(echo /var/lib/maas/boot-resources/*/*/*/*/*/root-image)
10 for img in $imgs; do
11 [ -f "$img.dist" ] || cp -a --sparse=always $img $img.dist
12 done
13
14 for img in $imgs; do
15- sudo ./backdoor-image -v --user=backdoor --password-auth --password=ubuntu $img
16+ sudo ./backdoor-image/backdoor-image -v --user=backdoor --password-auth --password=ubuntu $img
17 done
18
19 Inside the ephemeral image