Skip to content

Instantly share code, notes, and snippets.

View vishmule's full-sized avatar

Vishwanath Mule vishmule

View GitHub Profile
#!/bin/bash
HOST_IP=192.168.56.105
ADMIN_TOKEN=$(\
curl http://192.168.56.105:5000/v3/auth/tokens \
-s \
-i \
-H "Content-Type: application/json" \
-d '
#!/bin/bash
#Source the admin credentials ###
source ~/keystonerc_admin
#Variables definition. These variables are required for all the neutron operation. #######
first_tenant_name=tenantA
first_tenant_networkname=tenantA-net
first_tenant_subnetname=tenantA-subnet
first_tenant_subnetaddress=10.0.0.0/24
#!/bin/bash
#Source the admin credentials ###
source ~/keystonerc_admin
#Variables definition. These variables are required for all the neutron operation. #######
network_name=demo-net
subnet_name=demo-subnet
subnet_address=10.0.0.0/24
router_name=demo-router
# Author: vishmule
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
#!/bin/bash
# Author: vishmule
# Configure VMs before installation of Kubernetes components
## Disable Selinux
setenforce 0
sed -i 's/^SELINUX=enforcing$/SELINUX=permissive/' /etc/selinux/config
## Update IP table setting
## This ensures that packets are properly processed by IP tables during filtering and port forwarding.
#!/bin/bash
# Author : vishmule
# Install VirtualBox and Vagrant on Linux Host machine
## Install following pre-requisites required for VirtualBox Installation
yum install compat-libstdc++-33 SDL wget
yum install gcc kernel-devel make libGL qt qt-devel libXmu
## Download and Install VirtualBox
# Author: vishmule
## These steps will install VirtualBox and Vagrant on Windows VM
# Install chocolatey package manager for Windows.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
# Install VirtuaBox on Winodws
choco install virtualbox -y