diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-12 21:16:11 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-07-12 21:16:56 +0200 |
commit | 4e2a087cc7e91a510dd590f7cc761e36ac8f77f8 (patch) | |
tree | fd7534645f6950a8fcaabbce4c1437f6432cf3ff /src/helpers/vyos_net_name | |
parent | 6e621e42f463d8643b504916a1cc7c967f5bd6f1 (diff) | |
download | vyos-1x-4e2a087cc7e91a510dd590f7cc761e36ac8f77f8.tar.gz vyos-1x-4e2a087cc7e91a510dd590f7cc761e36ac8f77f8.zip |
T5195: move boot_* helpers to vyos.utils.boot
Diffstat (limited to 'src/helpers/vyos_net_name')
-rwxr-xr-x | src/helpers/vyos_net_name | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/helpers/vyos_net_name b/src/helpers/vyos_net_name index 1798e92db..7431f3713 100755 --- a/src/helpers/vyos_net_name +++ b/src/helpers/vyos_net_name @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2021 VyOS maintainers and contributors +# Copyright (C) 2021-2023 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -13,8 +13,6 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -# -# import os import re @@ -26,7 +24,8 @@ from sys import argv from vyos.configtree import ConfigTree from vyos.defaults import directories -from vyos.util import cmd, boot_configuration_complete +from vyos.util import cmd +from vyos.utils.boot import boot_configuration_complete from vyos.migrator import VirtualMigrator vyos_udev_dir = directories['vyos_udev_dir'] |