Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

zhanghui zhanghui9700

🎯
Focusing
View GitHub Profile
View antd-pro-request-add-token.tsx
// request拦截器, 改变url 或 options.
request.interceptors.request.use((url, options) => {
const c_token = getAuthority()
console.log("token: %s", c_token);
if (c_token) {
const headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'JWT ' + c_token[0]
};
View create_domain_and_network_log.md

virt.libvirt.driver.create_domain_and_network

# virt/libvirt/driver.py
def _create_domain_and_network():
    block_device_mapping = driver.block_device_info_get_mapping(
        block_device_info)
    LOG.info("[pykit] block_device_mapping: %s", block_device_mapping)
    LOG.info("[pykit] network_info: %s", network_info)

nova boot from ephemeral disk and network

View windows images
windows7 32位 链接:http://pan.baidu.com/s/1pLRq3P5 密码:qlgj
windows7 64位 链接:http://pan.baidu.com/s/1miOEGPi 密码:8qyu
Windows Server 2016 64位 链接:http://pan.baidu.com/s/1qXH4M1A 密码:1n80
Windows Server 2012r2 64位 链接:http://pan.baidu.com/s/1kVmhecf 密码:iods
Windows Server 2012 64位 链接:http://pan.baidu.com/s/1slwKp8D 密码:amek
Windows Server 2008r2 64位 链接:http://pan.baidu.com/s/1slWBZy9 密码:m17p
Windows Server 2008 64位 链接:http://pan.baidu.com/s/1jH776QU 密码:vfb1
Windows Server 2008 32位 链接:http://pan.baidu.com/s/1o82VXWm 密码:7iav
Windows Server 2003r2 64位 链接:http://pan.baidu.com/s/1bo1bTCF 密码:f8i3
Windows Server 2003 32位 链接:http://pan.baidu.com/s/1gf9r0iR 密码:1pur
@zhanghui9700
zhanghui9700 / fuel.md
Last active Apr 19, 2017
mirantis fuel
View fuel.md
@zhanghui9700
zhanghui9700 / how-to-use-ironic.md
Created Mar 1, 2017
Baremetal as a service in openstack
View how-to-use-ironic.md

overview

  1. config
  2. code workflow
  3. log
@zhanghui9700
zhanghui9700 / cloud-init.md
Created Feb 24, 2017
use cloud-init to customer/extend our instance
View cloud-init.md

how to use cloud-init

  1. use cloud-init
  2. code workflow
  3. extend our instance