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
| USER@REMOTE-SERVER:/share /mnt/share fuse.sshfs defaults,idmap=user,allow_other,reconnect,ServerAliveInterval=120,TCPKeepAlive=yes,Compression=yes,IdentityFile=/root/.ssh/id_ed25519 |
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 | |
| if [ -n "$1" ]; then | |
| CONTAINER_NAME=$1 | |
| else | |
| CONTAINER_NAME="testlxc" | |
| fi | |
| SHARED_DIR=$pwd | |
| echo -e "\033[0;32m Creating LXC: LXD FOR DEVELOPMENT \033[0m" |
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
| require 'csv' | |
| require 'json' | |
| require 'rest-client' | |
| $i = 0 | |
| $num = 15 | |
| $url = "http://10.10.1.137:4000" | |
| def remove_instance(id) | |
| begin |
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
| heat_template_version: 2015-04-30 | |
| description: HOT template to deploy redirect servers into an existing external network subnet. | |
| parameters: | |
| image: | |
| type: string | |
| description: Name of image to use for servers | |
| flavor: | |
| type: string |
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
| heat_template_version: 2015-10-15 | |
| description: > | |
| Creates a server and assigns a floating IP. | |
| parameters: | |
| network: | |
| type: string | |
| description: The network for the VM | |
| constraints: | |
| - {custom_constraint: neutron.network} |
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 | |
| [ "`whoami`" != "root" ] && echo "Should be run by root!" && exit 1 | |
| [ -e *.vmdk ] || ( echo Extracting VMDK image from *.ova ... ; tar xf *.ova ) | |
| [ -e github.img ] || ( echo Converting *.vmdk to raw image ... ; qemu-img convert *.vmdk github.img ) | |
| echo Preparing mounts ... | |
| losetup -f github.img -P | |
| vgchange -ay enterprise-11 |