* Add example to change the hostname and commit on Cumulus Linux
* Modify phrasing a bit
(cherry picked from commit f81e2580434db1926537ba94885f00ce9fefe375)
... | ... |
@@ -64,6 +64,12 @@ EXAMPLES = ''' |
64 | 64 |
- add int swp1 |
65 | 65 |
- add int swp2 |
66 | 66 |
|
67 |
+- name: Modify hostname to Cumulus-1 and commit the change |
|
68 |
+ nclu: |
|
69 |
+ commands: |
|
70 |
+ - add hostname Cumulus-1 |
|
71 |
+ commit: true |
|
72 |
+ |
|
67 | 73 |
- name: Add 48 interfaces and commit the change. |
68 | 74 |
nclu: |
69 | 75 |
template: | |