diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-30 08:01:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-30 08:01:06 +0200 |
commit | 134889fdced187859c7d4d1630c248e6f434abe5 (patch) | |
tree | 8d3fd8ba1a74be8b0bccb7f2650cc3a57b5fba88 | |
parent | 869b5cdebe73f5dc0fe2b6d2b718291bfe2fb99f (diff) | |
parent | c577475929acda693a8a16c35f1956f31dd9f7db (diff) | |
download | vyos-1x-134889fdced187859c7d4d1630c248e6f434abe5.tar.gz vyos-1x-134889fdced187859c7d4d1630c248e6f434abe5.zip |
Merge pull request #3744 from vyos/mergify/bp/circinus/pr-3743
T6534: fix incorrect imports in vyos-config-encrypt.py (backport #3743)
-rwxr-xr-x | src/helpers/vyos-config-encrypt.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/helpers/vyos-config-encrypt.py b/src/helpers/vyos-config-encrypt.py index 0f9c63b1c..84860bd6a 100755 --- a/src/helpers/vyos-config-encrypt.py +++ b/src/helpers/vyos-config-encrypt.py @@ -26,9 +26,8 @@ from tempfile import TemporaryDirectory from vyos.tpm import clear_tpm_key from vyos.tpm import read_tpm_key from vyos.tpm import write_tpm_key -from vyos.util import ask_input -from vyos.util import ask_yes_no -from vyos.util import cmd +from vyos.utils.io import ask_input, ask_yes_no +from vyos.utils.process import cmd persistpath_cmd = '/opt/vyatta/sbin/vyos-persistpath' mount_paths = ['/config', '/opt/vyatta/etc/config'] |