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
| .commento-account-buttons-question { | |
| top: -1px; | |
| } |
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 | |
| cd $1 | |
| if type curl 2>/dev/null; then | |
| curl -o patch122.php https://area51.enter-solutions.com/snippets/122/raw | |
| else | |
| wget -O patch122.php https://area51.enter-solutions.com/snippets/122/raw | |
| fi | |
| php patch122.php | |
| rm $1../cache/class_index.php |
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
| # This file is managed via Ansible. Do not edit. | |
| # Bifrost host variables for compute05 | |
| addressing_mode: static | |
| ipv4_address: 172.16.2.9 | |
| ipv4_gateway: 172.16.2.254 | |
| ipv4_interface_mac: '{{ extra.pxe_interface_mac | default }}' | |
| ipv4_nameserver: 172.16.2.254 | |
| ipv4_subnet_mask: 255.255.255.0 |
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
| { | |
| "checks": { | |
| "check-aodh-api": { | |
| "command": "if [ $(docker inspect -f '{{.State.Running}}' aodh_api) == 'true' ]; then exit 0 ; else exit 2; fi", | |
| "subscribers": ["overcloud-controller"], | |
| "interval": 60 | |
| }, | |
| "check-aodh-evaluator": { |
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
| [agent] | |
| interval = "10s" | |
| round_interval = true | |
| metric_batch_size = 1000 | |
| metric_buffer_limit = 10000 | |
| collection_jitter = "0s" | |
| flush_interval = "10s" | |
| flush_jitter = "0s" | |
| debug = false | |
| quiet = false |
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
| --- | |
| - hosts: localhost | |
| tasks: | |
| - name: Run InfluxDB container | |
| docker_container: | |
| name: 'influxdb' | |
| recreate: true | |
| restart_policy: unless-stopped | |
| image: 'influxdb:latest' | |
| published_ports: |
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
| curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip | |
| unzip rclone-current-linux-amd64.zip | |
| cd rclone-*-linux-amd64 | |
| sudo cp rclone /usr/bin/ | |
| sudo chown root:root /usr/bin/rclone | |
| sudo chmod 755 /usr/bin/rclone | |
| sudo mkdir -p /usr/local/share/man/man1 | |
| sudo cp rclone.1 /usr/local/share/man/man1/ | |
| sudo mandb | |
| rclone config |
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
| ### Rescan devices | |
| # echo '1' > /sys/class/scsi_disk/0\:0\:0\:0/device/rescan | |
| ### Open fdisk | |
| # fdisk /dev/sda | |
| ### Delete partition | |
| Command (m for help): d | |
| Partition number (1-X): X |