mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
T7836: use /opt/vyatta/etc/config in tmptest
This commit is contained in:
parent
bdb8e4ff65
commit
b7f13c3739
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user