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
#!/usr/bin/env python | |
""" | |
TBD | |
""" | |
import logging | |
import os | |
import sys | |
import requests |
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
--- a/nova/policies/flavor_access.py | |
+++ b/nova/policies/flavor_access.py | |
@@ -25,25 +25,27 @@ POLICY_ROOT = 'os_compute_api:os-flavor-access:%s' | |
# NOTE(gmann): Deprecating this policy explicitly as old defaults | |
# admin or owner is not suitable for that which should be admin (Bug#1867840) | |
# but changing that will break old deployment so let's keep supporting | |
-# the old default also and new default can be SYSTEM_READER | |
-# SYSTEM_READER rule in base class is defined with the deprecated rule of admin | |
+# the old default also and new default can be System Admin. | |
+# System Admin rule in base class is defined with the deprecated rule of admin |
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
auth --enableshadow --passalgo=sha512 | |
rootpw --plaintext passwd | |
url --url 'http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/' | |
network --bootproto=dhcp --ipv6=auto --hostname=root --activate | |
firewall --disabled | |
selinux --permissive |
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
if [[ "${TRACE-0}" == "1" ]]; then | |
set -o xtrace | |
fi | |
if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then |
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
spec: | |
nodes: | |
openstack-gateway-dpdk::enabled: | |
features: | |
neutron: | |
dpdk: | |
bridges: | |
- ip_address: 100.64.130.254/25 | |
name: br-phy | |
driver: mlx5_core |
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
#!/bin/bash | |
# | |
# $Id: mussh,v 1.12 2006/12/26 21:57:22 doughnut Exp $ | |
MUSSH_VERSION="1.0" | |
# | |
# Description: This script is used to execute the same command(s) on | |
# many hosts. | |
# | |
# by doughnut | |
# |
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
#!/bin/sh | |
node=${1} | |
nodeName=$(kubectl get node ${node} -o template --template='{{index .metadata.labels "kubernetes.io/hostname"}}') | |
nodeSelector='"nodeSelector": { "kubernetes.io/hostname": "'${nodeName:?}'" },' | |
podName=${USER}-nsenter-${node} | |
kubectl run ${podName:?} --restart=Never -it --rm --image overriden --overrides ' | |
{ | |
"spec": { | |
"hostPID": true, | |
"hostNetwork": true, |
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
virt-install \ | |
-n pharos-m1\ | |
--ram=8000 \ | |
--vcpus=2 \ | |
--disk path=/var/lib/libvirt/images/pharos-m1.qcow2,bus=virtio \ | |
--graphics none \ | |
--network bridge:virbr0,model=virtio \ | |
--import | |
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
apiVersion: launchpad.mirantis.com/mke/v1.4 | |
kind: mke | |
metadata: | |
name: my-mke-cluster | |
spec: | |
hosts: | |
- ssh: | |
address: 172.19.116.185 | |
user: ubuntu | |
port: 22 |
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
diff --git configure configure | |
index 1c9655e..9f83176 100755 | |
--- configure | |
+++ configure | |
@@ -682,6 +682,7 @@ Haiku) | |
vhost_net="yes" | |
vhost_scsi="yes" | |
vhost_vsock="yes" | |
+ QEMU_CFLAGS="-D_XOPEN_SOURCE=500 $QEMU_CFLAGS" | |
QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers -I$(pwd)/linux-headers $QEMU_INCLUDES" |
NewerOlder