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

Proposed by Raphaël Badin on 2014-05-21
Status: Merged
Approved by: Raphaël Badin on 2014-05-21
Approved revision: 2352
Merged at revision: 2352
Proposed branch: lp:~rvb/maas/update-troubleshooting-doc
Merge into: lp: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) 2014-05-21 Approve on 2014-05-21
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.
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
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