mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-12-16 02:22:04 +01:00
Fix typos in automation
This commit is contained in:
parent
b7ab40f545
commit
ac79583948
@ -268,7 +268,7 @@ Generate qcow image
|
|||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
A VyOS qcow image with cloud-init options is needed. This can be obtained
|
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
|
using `vyos-vm-images`_ repo. After cloning the repo, edit the file
|
||||||
**qemu.yml** and comment the **download-iso** role.
|
**qemu.yml** and comment the **download-iso** role.
|
||||||
|
|
||||||
In this lab, we are using 1.3.0 VyOS version and setting a disk of 10G.
|
In this lab, we are using 1.3.0 VyOS version and setting a disk of 10G.
|
||||||
@ -344,7 +344,7 @@ Content of network-config file:
|
|||||||
dhcp4: false
|
dhcp4: false
|
||||||
dhcp6: false
|
dhcp6: false
|
||||||
|
|
||||||
Finaly, file **meta-data** has no content, but it's required.
|
Finally, file **meta-data** has no content, but it's required.
|
||||||
|
|
||||||
---------------
|
---------------
|
||||||
Create seed.iso
|
Create seed.iso
|
||||||
@ -360,7 +360,7 @@ Command for generating ``seed.iso``
|
|||||||
mkisofs -joliet -rock -volid "cidata" -output seed.iso meta-data \
|
mkisofs -joliet -rock -volid "cidata" -output seed.iso meta-data \
|
||||||
user-data network-config
|
user-data network-config
|
||||||
|
|
||||||
**NOTE**: be carefull while copying and pasting previous commands. Doble
|
**NOTE**: be careful while copying and pasting previous commands. Double
|
||||||
quotes may need to be corrected.
|
quotes may need to be corrected.
|
||||||
|
|
||||||
---------------
|
---------------
|
||||||
|
|||||||
@ -49,7 +49,7 @@ prepended with ``run``, even if you haven't created a session with configure.
|
|||||||
Run commands remotely
|
Run commands remotely
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
Sometimes you simply wan't to execute a bunch of op-mode commands via SSH on
|
Sometimes you simply want to execute a bunch of op-mode commands via SSH on
|
||||||
a remote VyOS system.
|
a remote VyOS system.
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|||||||
@ -32,7 +32,7 @@ Example
|
|||||||
'set interfaces ethernet eth1 description LAN',
|
'set interfaces ethernet eth1 description LAN',
|
||||||
]
|
]
|
||||||
|
|
||||||
# set congiguration
|
# set configuration
|
||||||
output = net_connect.send_config_set(config_commands, exit_config_mode=False)
|
output = net_connect.send_config_set(config_commands, exit_config_mode=False)
|
||||||
print(output)
|
print(output)
|
||||||
|
|
||||||
@ -69,4 +69,4 @@ Output
|
|||||||
vtun10 10.10.0.1/24 u/u
|
vtun10 10.10.0.1/24 u/u
|
||||||
[edit]
|
[edit]
|
||||||
|
|
||||||
.. _netmiko: https://github.com/ktbyers/netmiko
|
.. _netmiko: https://github.com/ktbyers/netmiko
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user