This file contains hidden or 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 | |
| . ~/Work/radiant/openstack.sh | |
| export OS_CLOUD=cinet | |
| kubectx cinet | |
| for n in $(kubectl get no | awk '/controlplane/ { print $1}'); do | |
| echo "-- $n" | |
| FLAVOR=$(openstack server show $n | awk '/flavor/ { print $4}') |
This file contains hidden or 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 | |
| # https://www.qrcode-tiger.com/api-documentation | |
| # /api/qr/static | |
| API_KEY="SECRET" | |
| FRAME_COLOR="#054080" | |
| EYE_COLOR="#ff6500" |
This file contains hidden or 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 python3 | |
| """ | |
| OpenStack Floating IP Rebinding Script | |
| This script removes and re-adds a floating IP to a VM while | |
| preserving the MAC address of the interface. | |
| Usage: | |
| python rebind_floating_ip.py --vm <vm_name> --floating-ip <ip> --network <network_name> [--dry-run] |
OlderNewer