NCLU - Add example: Changing the hostname and committing on Cumulus Linux (#42872) (#45251)

* Add example to change the hostname and commit on Cumulus Linux

* Modify phrasing a bit

(cherry picked from commit f81e258043)
This commit is contained in:
Sandra McCann 2018-09-05 21:16:13 -04:00 committed by Alicia Cozine
parent c8887aa47f
commit 2eb1c48dfc

View file

@ -64,6 +64,12 @@ EXAMPLES = '''
- add int swp1
- add int swp2
- name: Modify hostname to Cumulus-1 and commit the change
nclu:
commands:
- add hostname Cumulus-1
commit: true
- name: Add 48 interfaces and commit the change.
nclu:
template: |