From 82f3da502d17301b8751c3d77da3c4757d75f6bc Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 18 Jan 2024 17:51:59 -0800 Subject: Switch libvirt helpers to Python3 No code changes are needed. Also, drop support for older than mga7 since the two nodes that need this are running that. --- modules/libvirtd/files/network_add.py | 2 +- modules/libvirtd/files/storage_add.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/libvirtd/files') diff --git a/modules/libvirtd/files/network_add.py b/modules/libvirtd/files/network_add.py index a7382351..4ed63109 100644 --- a/modules/libvirtd/files/network_add.py +++ b/modules/libvirtd/files/network_add.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 import libvirt import os import IPy diff --git a/modules/libvirtd/files/storage_add.py b/modules/libvirtd/files/storage_add.py index c53b16bd..10369e36 100644 --- a/modules/libvirtd/files/storage_add.py +++ b/modules/libvirtd/files/storage_add.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 import libvirt import sys -- cgit v1.2.1