I hereby claim:
- I am thebsdbox on github.
- I am thebsdbox (https://keybase.io/thebsdbox) on keybase.
- I have a public key ASDRPB3GqyjIx1cYkNOI1WwKU9_GoQUM1RBakKkT4Z8BBAo
To claim this, I am signing this object:
#!/bin/sh | |
################################################################################ | |
## This UNIX Shell script will download most O'Reilly free pdf books | |
## about Programming, Security, Business, Data, Design, IoT, WebDev, and WebOps | |
## from http://www.oreilly.com/programming/free/. | |
## There are a few books that are non-free, so I don't list them here. | |
## MODIFIED to take a parameter, can be pdf, epub or mobi and will find curl or | |
## wget to download with | |
## |
void stats(oneviewSession *session) | |
{ | |
// This test function will grab Server-Profiles | |
// It will then locate the bay that their located in | |
// Finally it will locate the sub ports and get the statistics and names | |
// Presume we're logged in before trying to query OneView | |
if ((session) && session->address && session->cookie) { | |
// First query | |
char *profiles = ovQueryServerProfiles(session, NULL); |
"Networks": [ | |
{ "docker_mgmt" : 90 }, | |
{ "docker_prod" : 91 } | |
] | |
"Networks": [ | |
{ | |
"vlanName" : "docker_mgmt", | |
"vlanID" : 90 | |
}, |
BITS 32 | |
org 0x05000000 | |
db 0x7F, "ELF" | |
dd 1 | |
dd 0 | |
dd $$ | |
dw 2 | |
dw 3 | |
dd 0x0500001B |
#!/bin/bash | |
# Either run as a standalone, or add to .bash_profile to start on new session | |
RED=$(tput setaf 1 2>/dev/null) | |
GREEN=$(tput setaf 2 2>/dev/null) | |
YELLOW=$(tput setaf 3 2>/dev/null) | |
BLUE=$(tput setaf 4 2>/dev/null) | |
PURPLE=$(tput setaf 5 2>/dev/null) | |
CYAN=$(tput setaf 6 2>/dev/null) |
package main | |
import ( | |
"encoding/xml" | |
"fmt" | |
) | |
// Envelope : is the parent XML and holds all information about a VM | |
type Envelope struct { | |
XMLName xml.Name `xml:"Envelope"` |
I hereby claim:
To claim this, I am signing this object:
This is a guide that details the steps to have in place a duplicate environment to upgrade to, and requires an existing UCP/DTR cluster.
Ensure that new nodes are all confiured with identical firewall rules and that all of the relevant swarm joins are performed.
Ensure you use the correct tag to see what is running, check in docker images
{ | |
"label":"Kubernets-cluster-on-CentOS", | |
"version":"0.1", | |
"vmconfig" : { | |
"vcenterURL" :"https://u:[email protected]", | |
"datacentre" : "", | |
"datastore":"", | |
"network" : "", | |
"host" : "esxi0xxxxx", | |
"guestCredentials" : { |
#!/bin/bash | |
echo Unmounting any filesystem not needed | |
umount -a | |
echo Beginning building of tmp root | |
mkdir /tmp/tmproot | |
mount -t tmpfs none /tmp/tmproot | |
mkdir /tmp/tmproot/{proc,sys,dev,run,usr,var,tmp,oldroot} | |
cp -ax /{bin,etc,mnt,sbin,lib64} /tmp/tmproot/ | |
mkdir /tmp/tmproot/lib |