Browse code

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 f81e2580434db1926537ba94885f00ce9fefe375)

Sandra McCann authored on 2018/09/06 10:16:13
Showing 1 changed files
... ...
@@ -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: |