Skip to content

Commit

Permalink
NCLU - Add example: Changing the hostname and committing on Cumulus L…
Browse files Browse the repository at this point in the history
…inux (#42872) (#45251)

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

* Modify phrasing a bit

(cherry picked from commit f81e258)
  • Loading branch information
samccann authored and Alicia Cozine committed Sep 6, 2018
1 parent c8887aa commit 2eb1c48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/ansible/modules/network/cumulus/nclu.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@
- 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: |
Expand Down

0 comments on commit 2eb1c48

Please sign in to comment.