Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am zaibon on github.
  • I am zaibon (https://keybase.io/zaibon) on keybase.
  • I have a public key ASCoTFhZKwbLBdJ9E3v-ljq2FbkC_6eI9IZ1DNxaI2YOXwo

To claim this, I am signing this object:

This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreidlxbpvi4njwx55ohmccvp7u6px7dw3hqfpucb3ytbiwt72kojkby ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
overlay_network_name="Net-AP4"
overlay_network_pre="172.24."
create_network()
def create_network():
'''
c n
'''
PING 172.16.46.11 (172.16.46.11): 56 data bytes
64 bytes from 172.16.46.11: seq=0 ttl=63 time=0.972 ms
--- 172.16.46.11 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.972/0.972/0.972 ms
PING 172.16.46.12 (172.16.46.12): 56 data bytes
--- 172.16.46.12 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa)
Lifetime set to 86400 seconds
+ set +ex
+ set +ex
* None:pull:ssh://git@github.com/openvcloud/0-templates.git ->/opt/code/github/openvcloud/0-templates
* git clone ssh://git@github.com/openvcloud/0-templates.git -> /opt/code/github/openvcloud/0-templates
* mkdir -p /opt/code/github/openvcloud;cd /opt/code/github/openvcloud;git -c http.sslVerify=false clone -b master ssh://git@github.com/openvcloud/0-templates.git /opt/code/github/openvcloud/0-templates
* None:pull:https://github.com/openvcloud/0-templates.git ->/opt/code/github/openvcloud/0-templates
* git clone https://github.com/openvcloud/0-templates.git -> /opt/code/github/openvcloud/0-templates
* mkdir -p /opt/code/github/openvcloud;cd /opt/code/github/openvcloud;git -c http.sslVerify=false clone -b master https://github.com/openvcloud/0-templates.git /opt/code/github/openvcloud/0-templates
<!DOCTYPE HTML><html><head><title>Directory service API documentation</title><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="generator" content="https://github.com/raml2html/raml2html 5.0.0"><link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.3.0/styles/default.min.css"><script type="text/javascript" src="https://code.jquery.com/jquery-1.11.0.min.js"></script><script type="text/javascript" src="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.3.0/highlight.min.js"></script><script type="text/javascript">
$(document).ready(function() {
$('.page-header pre code, .top-resource-description pre code, .modal-body pre code').each(function(i, block) {
hljs.highlight
@zaibon
zaibon / set40g.py
Last active March 21, 2017 16:06 — forked from maxux/set40g.py
from g8core import client
hosts = {
"10.101.200.1": "10.120.0.1",
"10.101.200.2": "10.120.0.2",
"10.101.200.3": "10.120.0.3",
"10.101.200.4": "10.120.0.4"
}
for host in hosts.keys():
diff --git a/install/InstallTools.py b/install/InstallTools.py
index ce58c03..ccb2a65 100644
--- a/install/InstallTools.py
+++ b/install/InstallTools.py
@@ -1081,9 +1081,10 @@ class InstallTools():
# import codecs
-
- serr = os.fdopen(p.stderr.fileno(), 'r', encoding='UTF-8')
#!/usr/local/bin/jspython
from JumpScale import j
g8_address = 'be-g8-3.demo.greenitglobe.com'
login = 'zaibon'
password = '******'
account = 'zaibon'
location = 'be-g8-3'
#!/usr/local/bin/jspython
from JumpScale import j
g8_address = 'be-g8-3.demo.greenitglobe.com'
login = 'zaibon'
password = '***'
account = 'zaibon'
location = 'be-g8-3'