summaryrefslogtreecommitdiff
path: root/data/templates/grub/grub_vyos_version.j2
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-10-23 12:19:26 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-11-16 12:18:01 -0600
commit424c9b19fd54598081e965c3364b082c5ef984de (patch)
tree29ebd223561acbdee53ce878b5eca93f96487b40 /data/templates/grub/grub_vyos_version.j2
parent96b65e90fbfa1fe63d97929ac86fc910abb0caa9 (diff)
downloadvyos-1x-424c9b19fd54598081e965c3364b082c5ef984de.tar.gz
vyos-1x-424c9b19fd54598081e965c3364b082c5ef984de.zip
image: T4516: use copy of pw_reset script for install, link for compat
Note that this was updated for the fix in T5739.
Diffstat (limited to 'data/templates/grub/grub_vyos_version.j2')
-rw-r--r--data/templates/grub/grub_vyos_version.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/grub/grub_vyos_version.j2 b/data/templates/grub/grub_vyos_version.j2
index 6e8f45210..97fbe8473 100644
--- a/data/templates/grub/grub_vyos_version.j2
+++ b/data/templates/grub/grub_vyos_version.j2
@@ -11,7 +11,7 @@ menuentry "{{ version_name }}" --id {{ version_uuid }} {
set boot_opts="${boot_opts} toram"
fi
if [ "${bootmode}" == "pw_reset" ]; then
- set boot_opts="${boot_opts} console=${console_type}${console_num} init=/opt/vyatta/sbin/standalone_root_pw_reset"
+ set boot_opts="${boot_opts} console=${console_type}${console_num} init=/usr/libexec/vyos/system/standalone_root_pw_reset"
elif [ "${bootmode}" == "recovery" ]; then
set boot_opts="${boot_opts} console=${console_type}${console_num} init=/usr/bin/busybox init"
else