From b136e811316672b18df05c966304f2cfe879cbe7 Mon Sep 17 00:00:00 2001 From: srividya0208 Date: Thu, 18 May 2023 14:59:56 -0400 Subject: changed the ntp server command format and a link reference --- docs/automation/cloud-init.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/automation/cloud-init.rst') diff --git a/docs/automation/cloud-init.rst b/docs/automation/cloud-init.rst index 2fa102b1..b396fee0 100644 --- a/docs/automation/cloud-init.rst +++ b/docs/automation/cloud-init.rst @@ -96,8 +96,8 @@ first boot. #cloud-config vyos_config_commands: - set system host-name 'vyos-prod-ashburn' - - set system ntp server 1.pool.ntp.org - - set system ntp server 2.pool.ntp.org + - set service ntp server 1.pool.ntp.org + - set service ntp server 2.pool.ntp.org - delete interfaces ethernet eth1 address 'dhcp' - set interfaces ethernet eth1 address '192.0.2.247/24' - set protocols static route 198.51.100.0/24 next-hop '192.0.2.1' @@ -215,7 +215,7 @@ the method with KVM to attach the ISO as a CD drive follows. For more information on the NoCloud data source, visit its `page -`_ +`_ in the cloud-init documentation. *************** @@ -223,7 +223,7 @@ Troubleshooting *************** If you encounter problems, verify that the cloud-config document contains -valid YAML. Online resources such as https://yamlvalidator.com/ provide +valid YAML. Online resources such as https://www.yamllint.com/ provide a simple tool for validating YAML. cloud-init logs to /var/log/cloud-init.log. This file can be helpful in @@ -319,8 +319,8 @@ vyos-commands. For example: #cloud-config vyos_config_commands: - set system host-name 'vyos-BRAS' - - set system ntp server 1.pool.ntp.org - - set system ntp server 2.pool.ntp.org + - set service ntp server 1.pool.ntp.org + - set service ntp server 2.pool.ntp.org - delete interfaces ethernet eth0 address 'dhcp' - set interfaces ethernet eth0 address '198.51.100.2/30' - set interfaces ethernet eth0 description 'WAN - ISP01' -- cgit v1.2.3