diff options
Diffstat (limited to 'docs/automation')
| -rw-r--r-- | docs/automation/cloud-init.rst | 2 | ||||
| -rw-r--r-- | docs/automation/command-scripting.rst | 10 | 
2 files changed, 6 insertions, 6 deletions
| diff --git a/docs/automation/cloud-init.rst b/docs/automation/cloud-init.rst index ccfb6275..2fa102b1 100644 --- a/docs/automation/cloud-init.rst +++ b/docs/automation/cloud-init.rst @@ -267,7 +267,7 @@ Most important keys that needs to be considered:  Generate qcow image  ------------------- -A VyOS qcow image with cloud-init options is needed. This can be obteined +A VyOS qcow image with cloud-init options is needed. This can be obtained  using `vyos-vm-images`_ repo. After clonning the repo, edit the file  **qemu.yml** and comment the **download-iso** role. diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst index 7cf31232..ed76a879 100644 --- a/docs/automation/command-scripting.rst +++ b/docs/automation/command-scripting.rst @@ -28,7 +28,7 @@ example, if you want to disable a BGP peer on VRRP transition to backup:    #!/bin/vbash    source /opt/vyatta/etc/functions/script-template    configure -  set protocols bgp local-as 65536 +  set protocols bgp system-as 65536    set protocols bgp neighbor 192.168.2.1 shutdown    commit    exit @@ -83,10 +83,10 @@ Here is a simple example:  .. code-block:: python -  #!/usr/bin/env python -  print "delete firewall group address-group somehosts" -  print "set firewall group address-group somehosts address '192.0.2.3'" -  print "set firewall group address-group somehosts address '203.0.113.55'" +  #!/usr/bin/env python3 +  print("delete firewall group address-group somehosts") +  print("set firewall group address-group somehosts address '192.0.2.3'") +  print("set firewall group address-group somehosts address '203.0.113.55'")  .. code-block:: none | 
