all the python scripts are for python2, and fedora31 requires to be specific master
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Nov 2019 10:09:54 +0000 (11:09 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Nov 2019 10:10:24 +0000 (11:10 +0100)
13 files changed:
root-context/exec/claimport
root-context/exec/connectswitch
root-context/exec/makeswitch
root-context/exec/portsummary
root-context/exec/promisc
root-context/exec/prox
root-context/exec/pvtfs
root-context/exec/run_with_devices
root-context/exec/showswitch
root-context/exec/slice_config
root-context/exec/vif_down
root-context/exec/vif_up
root-context/exec/vroute

index 3c467d9..699e663 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 # Lets a user kill processes bound to
 # ports in his assigned port range. To assign a port
 # range, set the vsys_portreservation attribute for that user.
index b61e186..6933d88 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 
 import sys
 import pwd
index 2412291..7ebffef 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 
 import sys
 import pwd
index f800632..c8b411a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 
 import os
 import sys
index 11d0911..3852864 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 # Vsys script to set a device in promisc mode
 # The user needs to have the device allocated to him
 # via the vsys_vnet tag. Set vsys_vnet to the IP address of
index 8d1654a..c69a891 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 
 MAX_LOCKED_MEMSIZE = 1024 * 1024 * 1024  # 1 GB
 SHMMAX = 1024 * 1024 * 1024   # 1 GB
index b2a035a..27f3c0c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 # Lets a user loopback-mount a private fs of a given type.
 # To use, configure the following vsys-attributes in addition to setting the vsys tag for the slice
 # - vsys_privatefs_list -> comma-separated list of desired filesystems, e.g. xfs,btrfs
index c0b2312..d241866 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/python2 -u
 # All vsys scripts should use STDOUT in unbuferred mode, or else sometimes your output will get bufferred and you will not see it till the buffer gets flushed.  
 
 import sys
index 35e86c2..c669669 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 
 import sys
 import pwd
index 505de5c..764e3b5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 
 import xmlrpclib
 import sys
index fe121c7..f32400b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 # VSYS script to ifdown per-slice virtual network interfaces from the root slice
 #   Thom Haddow - 06/10/09
 #
index eb75879..4e50cab 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 # VSYS script to configure per-slice virtual network interfaces from the root slice
 #   Thom Haddow - 06/10/09
 #
index a2858c2..1a29544 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 # VSYS script to configure routes on virtual network interfaces from the root slice
 #   Claudio Freire - 2011/05/19
 #