Example documentation for adding new boot-source-selection is missing positional argument

Bug #1409690 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Unassigned

Bug Description

See http://maas.ubuntu.com/docs/bootsources.html#adding-a-source, the example after "
Inside that newly created source (‘2’) you can add selections:" says

$ maas $PROFILE boot-source-selections create os="ubuntu" release="trusty" arches="amd64" subarches="*" labels='*'

when it should be:
$ maas $PROFILE boot-source-selections create 2 os="ubuntu" release="trusty" arches="amd64" subarches="*" labels='*'

If you try to execute the example you'll get an not so user friendly error like:

invalid literal for int() with base 10: 'os=ubuntu'

Tags: cli doc trivial

Related branches

Raphaël Badin (rvb)
tags: added: cli
removed: maas-cli
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
Changed in maas:
milestone: none → next
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
Changed in maas:
milestone: next → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.