I hereby claim:
- I am jreypo on github.
- I am jreypo (https://keybase.io/jreypo) on keybase.
- I have a public key ASD3xugQdQNn1V_bE7Ra38ASzJarqSm7v6Y9Da58ZWUVIwo
To claim this, I am signing this object:
#!/usr/bin/env python | |
# | |
# Written by Juan Manuel Rey | |
# Github: https://github.com/jreypo | |
# Blog: http://blog.jreypo.io/ | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
#!/bin/bash | |
# | |
# Azure Bastion tunnel script by @jreypo | |
# | |
echo -n "Enter resource group name: " | |
read rg | |
echo -n "Enter Bastion name: " | |
read bastion | |
echo -n "Enter virtual machine name: " |
I hereby claim:
To claim this, I am signing this object:
# Description: Boxstarter Script | |
# Author: Juan Manuel Rey <juanmanuel.reyportal@gmail.com> | |
# | |
# Heavily based on Jess Frazz Boxstarter gist https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# |
#!/bin/bash | |
# | |
# Script to install Docker and Kubeadm in Ubuntu 18.04 | |
# | |
# Written by Juan Manuel Rey <juanmanuel.reyportal@gmail.com> | |
# Based on Kubernetes official doc | |
# | |
echo "Installing Docker..." |
[[local|localrc]] | |
ADMIN_PASSWORD=vmware | |
DATABASE_PASSWORD=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=$ADMIN_PASSWORD | |
HOST_IP=192.168.82.20 | |
# VMware Nova Info | |
VIRT_DRIVER=vsphere |
{ | |
"type": "ExistingCloud", | |
"auth_url": "http://172.16.98.7:5000/v2.0", | |
"region_name": "RegionOne", | |
"admin": { | |
"username": "admin", | |
"password": "redhat", | |
"tenant_name": "admin" | |
} | |
} |
for node in $(ironic node-list | egrep "power on" | awk '{print $2}'); do | |
echo "Powering off $node" | |
ironic node-set-power-state $node off | |
done |
use [master] | |
GO | |
CREATE DATABASE [CBDB] ON PRIMARY | |
(NAME = N'CBDB', FILENAME = N'E:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\CBDB.mdf' , SIZE = 200000KB , FILEGROWTH = 10% ) | |
LOG ON | |
(NAME = N'CBDB_log', FILENAME = N'E:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\CBDB.ldf' , SIZE = 20000KB , FILEGROWTH = 10%) | |
COLLATE SQL_Latin1_General_CP1_CI_AS | |
GO | |
use [CBDB] |