Skip to content

Instantly share code, notes, and snippets.

@hvram1
hvram1 / gist:415348f787ecf5c8890a88839f734f8b
Created October 30, 2016 16:09
Vagrant using HyperV - Nano Server
# Add the current user to the "Hyper V Administrators" group
# Open a cmd prompt with admin privivelges
net localgroup "Hyper-V administrators" xxxxx\yyyy /add
# Make sure the ; in the windows command has a space vagrant init mwrock/WindowsNano ;
# The space is important . (else the ; gets appended to the URL )
Seems to start only as administrator . Does not seems to work as a normal user
@hvram1
hvram1 / cli.log
Last active May 15, 2017 13:35
Hyperledger chaincode instantiation error
===================== Chaincode is installed on remote peer PEER0 =====================
CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key
CORE_PEER_LOCALMSPID=Org2MSP
CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt
CORE_PEER_TLS_ENABLED=true
CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp
CORE_PEER_ID=cli
@hvram1
hvram1 / TerraformApplyLog1stRun
Last active March 31, 2020 12:55
Terraform Log gists
2020/03/31 17:27:18 [INFO] Terraform version: 0.12.24
2020/03/31 17:27:18 [INFO] Go runtime version: go1.12.13
2020/03/31 17:27:18 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "TerraformPlan"}
2020/03/31 17:27:18 [DEBUG] Attempting to open CLI config file: /home/hvram/.terraformrc
2020/03/31 17:27:18 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/03/31 17:27:18 [INFO] CLI command args: []string{"apply", "TerraformPlan"}
2020/03/31 17:27:18 [TRACE] Meta.BackendForPlan: instantiated backend of type *local.Local
2020/03/31 17:27:18 [DEBUG] checking for provider in "."
2020/03/31 17:27:18 [DEBUG] checking for provider in "/usr/local/bin"
2020/03/31 17:27:18 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"