summaryrefslogtreecommitdiff
path: root/src/helpers/vyos-config-encrypt.py
diff options
context:
space:
mode:
authorBonus <root@bonusplay.pl>2024-06-29 20:54:17 +0200
committerBonus <root@bonusplay.pl>2024-06-29 20:54:17 +0200
commit96c993ec5e850b8ca7056f70df9c6459840e6af7 (patch)
tree91c10563928b66b622ec56ecbf0942cbdd2b2c31 /src/helpers/vyos-config-encrypt.py
parent7eddd35e177ef5a41c19bb37b0bc80bdf4b8246d (diff)
downloadvyos-1x-96c993ec5e850b8ca7056f70df9c6459840e6af7.tar.gz
vyos-1x-96c993ec5e850b8ca7056f70df9c6459840e6af7.zip
T6534: fix incorrect imports in vyos-config-encrypt.py
Diffstat (limited to 'src/helpers/vyos-config-encrypt.py')
-rwxr-xr-xsrc/helpers/vyos-config-encrypt.py5
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']