T7836: use /opt/vyatta/etc/config in tmptest

This commit is contained in:
John Estabrook 2025-09-19 09:23:34 -05:00
parent bdb8e4ff65
commit b7f13c3739

View File

@ -631,7 +631,7 @@ try:
def verify_mount():
# Verify encrypted and mounted
c.sendline('mount | grep vyos_config')
c.expect('/dev/mapper/vyos_config on /config.*')
c.expect('/dev/mapper/vyos_config on /opt/vyatta/etc/config.*')
c.expect(op_mode_prompt)
def verify_config():
@ -745,7 +745,7 @@ try:
log.info('Loading encrypted config.boot')
c.sendline('configure')
c.expect(cfg_mode_prompt)
c.sendline('load /config/config.boot')
c.sendline('load /opt/vyatta/etc/config/config.boot')
c.expect(cfg_mode_prompt)
c.sendline('commit')
c.expect(cfg_mode_prompt)
@ -829,7 +829,7 @@ try:
log.info('Loading encrypted config.boot')
c.sendline('configure')
c.expect(cfg_mode_prompt)
c.sendline('load /config/config.boot')
c.sendline('load /opt/vyatta/etc/config/config.boot')
c.expect(cfg_mode_prompt)
c.sendline('commit')
c.expect(cfg_mode_prompt)