-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from MarcinZablocki/2.10
Merge v2.10.0 to main
- Loading branch information
Showing
8 changed files
with
180 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"python.pythonPath": "/Users/marcin/.virtualenvs/p3/bin/python" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
|
||
PKG_NAME=oci-cn-auth | ||
PKG_DESCRIPTION="OCI cluster network authentication tool" | ||
PKG_VERSION=0.2.9 | ||
PKG_RELEASE=2 | ||
PKG_VERSION=0.2.10 | ||
PKG_RELEASE=7 | ||
PKG_MAINTAINER="Marcin Zablocki \<[email protected]\>" | ||
PKG_ARCH=all | ||
PKG_ARCH_RPM=noarch | ||
|
@@ -35,8 +35,10 @@ FILES=--prefix / \ | |
src/var/lib/oci-cn-auth/share/oci-cn-auth.service=/lib/systemd/system/oci-cn-auth.service \ | ||
src/var/lib/oci-cn-auth/share/oci-cn-auth.timer=/lib/systemd/system/oci-cn-auth.timer | ||
|
||
DEB_FILES=src/var/lib/oci-cn-auth/bin/ifup-rdma=/etc/network/if-up.d/ifup-rdma | ||
RPM_FILES=src/var/lib/oci-cn-auth/bin/ifup-rdma=/sbin/ifup-local | ||
DEB_FILES=src/var/lib/oci-cn-auth/bin/ifup-rdma=/sbin/ifup-rdma \ | ||
src/var/lib/oci-cn-auth/bin/ifup-local=/etc/network/if-up.d/ifup-rdma | ||
RPM_FILES=src/var/lib/oci-cn-auth/bin/ifup-rdma=/sbin/ifup-rdma \ | ||
src/var/lib/oci-cn-auth/bin/ifup-local=/sbin/ifup-local | ||
|
||
RPM_SCRIPTS=--after-install scripts/after-install.sh \ | ||
--after-remove scripts/after-remove.sh \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
if [[ -f /etc/os-release ]] ; then | ||
source /etc/os-release | ||
else | ||
echo "Unable to detect or unsupported operating system" | ||
exit 1 | ||
fi | ||
|
||
if [ $ID == "ol" ] || [ $ID == "centos" ] ; then | ||
IFACE=$1 | ||
fi | ||
#[ "$IFACE" != "lo" ] || exit 0 | ||
#[ "$IFACE" != "--all" ] || exit 0 | ||
|
||
#echo $IFACE | ||
nohup /sbin/ifup-rdma $IFACE >/dev/null 2>&1 & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
import os | ||
import psutil | ||
import socket | ||
from lib.config import SHAPES | ||
|
||
def get_dev_name_by_id(id): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.