From bbbe388b437b03427e5f80a0f955b6f2759ea946 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 27 Nov 2023 21:13:22 -0600 Subject: image-tools: T5751: normalize args using hyphen instead of underscore (cherry picked from commit bb578a1cab177e8cee6e4d02144d21387ba13a93) --- op-mode-definitions/system-image.xml.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'op-mode-definitions/system-image.xml.in') diff --git a/op-mode-definitions/system-image.xml.in b/op-mode-definitions/system-image.xml.in index 463b985d6..c131087be 100644 --- a/op-mode-definitions/system-image.xml.in +++ b/op-mode-definitions/system-image.xml.in @@ -17,7 +17,7 @@ /path/to/vyos-image.iso "http://example.com/vyos-image.iso" - sudo ${vyos_op_scripts_dir}/image_installer.py --action add --image_path "${4}" + sudo ${vyos_op_scripts_dir}/image_installer.py --action add --image-path "${4}" @@ -26,7 +26,7 @@ vrf name - sudo ${vyos_op_scripts_dir}/image_installer.py --action add --image_path "${4}" --vrf "${6}" + sudo ${vyos_op_scripts_dir}/image_installer.py --action add --image-path "${4}" --vrf "${6}" @@ -37,7 +37,7 @@ Password to use with authentication - sudo ${vyos_op_scripts_dir}/image_installer.py --action add --image_path "${4}" --vrf "${6}" --username "${8}" --password "${10}" + sudo ${vyos_op_scripts_dir}/image_installer.py --action add --image-path "${4}" --vrf "${6}" --username "${8}" --password "${10}" @@ -52,7 +52,7 @@ Password to use with authentication - sudo ${vyos_op_scripts_dir}/image_installer.py --action add --image_path "${4}" --username "${6}" --password "${8}" + sudo ${vyos_op_scripts_dir}/image_installer.py --action add --image-path "${4}" --username "${6}" --password "${8}" @@ -90,7 +90,7 @@ - sudo ${vyos_op_scripts_dir}/image_manager.py --action set --image_name "${5}" + sudo ${vyos_op_scripts_dir}/image_manager.py --action set --image-name "${5}" @@ -134,7 +134,7 @@ - sudo ${vyos_op_scripts_dir}/image_manager.py --action delete --image_name "${4}" + sudo ${vyos_op_scripts_dir}/image_manager.py --action delete --image-name "${4}" @@ -162,7 +162,7 @@ A new name for an image - sudo ${vyos_op_scripts_dir}/image_manager.py --action rename --image_name "${4}" --image_new_name "${6}" + sudo ${vyos_op_scripts_dir}/image_manager.py --action rename --image-name "${4}" --image-new-name "${6}" -- cgit v1.2.3